mirror of
https://github.com/NaN-tic/trytond-account_invoice_shop.git
synced 2023-12-14 03:42:55 +01:00
parent
4723f523f8
commit
8e1950daab
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ class Invoice(metaclass=PoolMeta):
|
|||
states={
|
||||
'readonly': ((Eval('state') != 'draft')
|
||||
| (Eval('lines', [0]) & Eval('currency'))),
|
||||
'invisible': (Eval('type') != 'out'),
|
||||
},
|
||||
depends=['type', 'state', 'company'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue