mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Initial commit of hr_payroll_multicompany for 11.0
This module is has been tested with a 5+ company database. It implements accounting but the contribution registers are shared between companies. (run as Admin)
This commit is contained in:
1
hr_payroll_multicompany/__init__.py
Normal file
1
hr_payroll_multicompany/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import models
|
||||
14
hr_payroll_multicompany/__manifest__.py
Executable file
14
hr_payroll_multicompany/__manifest__.py
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
'name': 'Payroll Multicompany',
|
||||
'description': 'Payroll Rates',
|
||||
'version': '11.0.1.0.1',
|
||||
'website': 'https://hibou.io/',
|
||||
'author': 'Hibou Corp. <hello@hibou.io>',
|
||||
'license': 'AGPL-3',
|
||||
'category': 'Human Resources',
|
||||
'data': [
|
||||
],
|
||||
'depends': [
|
||||
'hr_payroll_account',
|
||||
],
|
||||
}
|
||||
1
hr_payroll_multicompany/models/__init__.py
Normal file
1
hr_payroll_multicompany/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import payroll
|
||||
10
hr_payroll_multicompany/models/payroll.py
Normal file
10
hr_payroll_multicompany/models/payroll.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class SalaryRule(models.Model):
|
||||
_inherit = 'hr.salary.rule'
|
||||
|
||||
account_debit = fields.Many2one('account.account', company_dependent=True)
|
||||
account_credit = fields.Many2one('account.account', company_dependent=True)
|
||||
analytic_account_id = fields.Many2one('account.analytic.account', company_dependent=True)
|
||||
account_tax_id = fields.Many2one('account.tax', company_dependent=True)
|
||||
Reference in New Issue
Block a user