From 7438370947caceed85f32cbab1b756656083f201 Mon Sep 17 00:00:00 2001 From: Oscar Alvarez Date: Thu, 21 Jan 2021 21:26:22 -0500 Subject: [PATCH] Minor fixes --- payroll.xml | 4 ++-- wage_type.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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):