Skip to content

Commit

Permalink
[ADD] fiscal_company_hr
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Dec 20, 2024
1 parent 7d6883e commit e348639
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 0 deletions.
Empty file added fiscal_company_hr/README.rst
Empty file.
1 change: 1 addition & 0 deletions fiscal_company_hr/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions fiscal_company_hr/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (C) 2024-Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "CAE - Human Resources",
"version": "16.0.1.0.0",
"category": "CAE",
"summary": "Glue Module between CAE and Human Resources modules",
"author": "GRAP",
"website": "https://github.com/grap/odoo-addons-cae",
"license": "AGPL-3",
"depends": ["fiscal_company_base", "hr"],
"installable": True,
"auto_install": True,
}
Empty file added fiscal_company_hr/i18n/fr.po
Empty file.
1 change: 1 addition & 0 deletions fiscal_company_hr/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import hr_employee
15 changes: 15 additions & 0 deletions fiscal_company_hr/models/hr_employee.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (C) 2024-Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import models


class HrEmployee(models.Model):
_name = "hr.employee"
_inherit = [
"hr.employee",
"fiscal.company.check.company.mixin",
]

_fiscal_company_forbid_fiscal_type = ["fiscal_mother", "group"]
9 changes: 9 additions & 0 deletions fiscal_company_hr/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This module extend Odoo functionnalities, regarding companies features to
manage CAE (Coopearatives of Activities and Employment) that is a special
status for french companies.

This module is a glue module for the Odoo Human Resources module.

**Features**

* Prevent to create employees at group or CAE level.
Binary file added fiscal_company_hr/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions setup/fiscal_company_hr/odoo/addons/fiscal_company_hr
6 changes: 6 additions & 0 deletions setup/fiscal_company_hr/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit e348639

Please sign in to comment.