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:
Jared Kipe
2019-01-09 17:19:12 -08:00
committed by Jared Kipe
parent 7b1d1ed74b
commit 22e844cb58
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': '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',
],
}

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)