Minor fix

This commit is contained in:
oscar 2021-04-12 11:15:15 -05:00
parent 03422a24b5
commit 0a69b178db
1 changed files with 1 additions and 3 deletions

View File

@ -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):