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