Merge branch 'mig/12.0/hr_payroll_multicompany' into 12.0-test

This commit is contained in:
Jared Kipe
2019-07-23 15:07:52 -07:00
4 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1 @@
from . import models

View File

@@ -0,0 +1,14 @@
{
'name': 'Payroll Multicompany',
'description': 'Payroll Rates',
'version': '12.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',
],
}

View File

@@ -0,0 +1 @@
from . import payroll

View 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)