mirror of
https://github.com/NaN-tic/trytond-account_reports.git
synced 2023-12-14 05:43:08 +01:00
Replace periods to start_period/end_period in general ledger
This commit is contained in:
parent
e445748364
commit
68a49497cf
1 changed files with 1 additions and 1 deletions
|
@ -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')))
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue