changeset b360d3be4594 in modules/account_invoice:default details: https://hg.tryton.org/modules/account_invoice?cmd=changeset;node=b360d3be4594 description: Make invoice required for invoice tax
issue10111 review339931002 diffstat: invoice.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 1359075b3390 -r b360d3be4594 invoice.py --- a/invoice.py Sun Feb 21 19:19:26 2021 +0100 +++ b/invoice.py Fri Feb 26 15:41:50 2021 +0000 @@ -2337,7 +2337,7 @@ _depends = ['invoice_state'] invoice = fields.Many2One('account.invoice', 'Invoice', ondelete='CASCADE', - select=True, + select=True, required=True, states={ 'readonly': _states['readonly'] & Bool(Eval('invoice')), },