changeset b9487881529a in modules/account_invoice_correction:default
details:
https://hg.tryton.org/modules/account_invoice_correction?cmd=changeset&node=b9487881529a
description:
Manage price correction from supplier invoice
issue10191
review332231002
diffstat:
invoice.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (14 lines):
diff -r ed0b78725425 -r b9487881529a invoice.py
--- a/invoice.py Sat Dec 19 17:08:44 2020 +0100
+++ b/invoice.py Sun Mar 21 16:07:45 2021 +0100
@@ -16,9 +16,7 @@
super(Invoice, cls).__setup__()
cls._buttons.update({
'correct': {
- 'invisible': (
- (Eval('state') != 'posted')
- | (Eval('type') != 'out')),
+ 'invisible': Eval('state') != 'posted',
'depends': ['state', 'type'],
},
})