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:
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