Minor fix
This commit is contained in:
parent
03422a24b5
commit
0a69b178db
|
@ -19,9 +19,7 @@ class ConfigurationDashSale(ModelSQL, ModelView):
|
|||
app = fields.Selection([
|
||||
('order', 'On Order Processed'),
|
||||
('delivery', 'On Shipment Sent')
|
||||
], 'Sale Invoice Method', states={
|
||||
'required': Bool(Eval('context', {}).get('company', 0)),
|
||||
})
|
||||
], 'Sale Invoice Method')
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
|
|
Loading…
Reference in New Issue