Minor fixes

This commit is contained in:
Oscar Alvarez 2021-01-21 21:26:22 -05:00
parent 180684eea5
commit 7438370947
2 changed files with 3 additions and 3 deletions

View File

@ -86,8 +86,8 @@ this repository contains the full copyright notices and license terms. -->
<field name="act_window" ref="act_payroll_form"/>
</record>
<menuitem name="Payroll" parent="staff.menu_staff"
sequence="3" id="menu_staff_payroll"
action="act_payroll_form"/>
sequence="3" id="menu_staff_payroll"
action="act_payroll_form"/>
<record model="ir.model.access" id="access_staff_payroll">
<field name="model" search="[('model', '=', 'staff.payroll')]"/>

View File

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