diff --git a/configuration.py b/configuration.py index 0695cc9..c9e51a8 100644 --- a/configuration.py +++ b/configuration.py @@ -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):