[MOV] hr_payroll: Restructured files according to new API guidelines (no splitting)
[FIX] hr_payroll: Fixed wrong decorator.
This commit is contained in:
committed by
Yannick Tivisse
parent
e6c4d3bfc3
commit
2079a5018d
@@ -1,8 +1,6 @@
|
||||
#-*- coding:utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import hr_payroll
|
||||
import models
|
||||
import report
|
||||
import wizard
|
||||
|
||||
import res_config
|
||||
|
||||
@@ -28,24 +28,24 @@ Generic Payroll system.
|
||||
'report',
|
||||
],
|
||||
'data': [
|
||||
'security/hr_security.xml',
|
||||
'wizard/hr_payroll_payslips_by_employees.xml',
|
||||
'hr_payroll_view.xml',
|
||||
'hr_payroll_workflow.xml',
|
||||
'hr_payroll_sequence.xml',
|
||||
'hr_payroll_report.xml',
|
||||
'hr_payroll_data.xml',
|
||||
'security/hr_payroll_security.xml',
|
||||
'wizard/hr_payroll_payslips_by_employees_views.xml',
|
||||
'views/hr_payroll_views.xml',
|
||||
'views/hr_payroll_workflow.xml',
|
||||
'data/hr_payroll_sequence.xml',
|
||||
'views/hr_payroll_report.xml',
|
||||
'data/hr_payroll_data.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'wizard/hr_payroll_contribution_register_report.xml',
|
||||
'res_config_view.xml',
|
||||
'views/report_contributionregister.xml',
|
||||
'views/report_payslip.xml',
|
||||
'views/report_payslipdetails.xml',
|
||||
'wizard/hr_payroll_contribution_register_report_views.xml',
|
||||
'views/res_config_views.xml',
|
||||
'views/report_contributionregister_templates.xml',
|
||||
'views/report_payslip_templates.xml',
|
||||
'views/report_payslipdetails_templates.xml',
|
||||
],
|
||||
'test': [
|
||||
'test/payslip.yml',
|
||||
],
|
||||
'demo': ['hr_payroll_demo.xml'],
|
||||
'demo': ['data/hr_payroll_demo.xml'],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'application': False,
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#-*- coding:utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import hr_payroll
|
||||
import res_config
|
||||
@@ -849,7 +849,7 @@ result = rules.NET > categories.NET * 0.10''',
|
||||
'quantity': '1.0',
|
||||
}
|
||||
|
||||
@api.cr_uid_ids_context
|
||||
@api.cr_uid_records_context
|
||||
def _recursive_search_of_rules(self, cr, uid, rule_ids, context=None):
|
||||
"""
|
||||
@param rule_ids: list of browse record
|
||||
Reference in New Issue
Block a user