Show shop field when invoice type is out

#163889
This commit is contained in:
Raimon Esteve 2023-12-13 13:57:44 +01:00
parent 4723f523f8
commit 8e1950daab
1 changed files with 1 additions and 0 deletions

View File

@ -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'])