Replace periods to start_period/end_period in general ledger

This commit is contained in:
Raimon Esteve 2023-05-25 15:18:59 +02:00
parent e445748364
commit 68a49497cf
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class PrintGeneralLedgerStart(ModelView):
()),
],
states={
'invisible': Bool(Eval('periods')),
'invisible': Eval('start_period') | Eval('end_period'),
'required': ((Eval('end_date') | Eval('start_date')) &
~Bool(Eval('start_period') | Eval('end_period')))
},