diff --git a/payroll.xml b/payroll.xml index 208fd1d..66c937f 100644 --- a/payroll.xml +++ b/payroll.xml @@ -86,8 +86,8 @@ this repository contains the full copyright notices and license terms. --> + sequence="3" id="menu_staff_payroll" + action="act_payroll_form"/> diff --git a/wage_type.py b/wage_type.py index 5161a91..06fcabc 100644 --- a/wage_type.py +++ b/wage_type.py @@ -7,7 +7,7 @@ from trytond.transaction import Transaction __all__ = ['WageType', 'WageTypeSalary'] -STATES = {'readonly': Not(Bool(Eval('active'))),} +STATES = {'readonly': Not(Bool(Eval('active')))} class WageType(ModelSQL, ModelView):