diff --git a/models/pos_config.py b/models/pos_config.py index 3d2c4c0..d7be464 100644 --- a/models/pos_config.py +++ b/models/pos_config.py @@ -7,11 +7,11 @@ class PosConfig(models.Model): 'account.account', string='100% Discount Income Account', help='Account used for Income when an order has a 100% discount (0 total).', - domain="[('deprecated', '=', False)]" + domain="[('active', '=', True)]" ) discount_100_expense_account_id = fields.Many2one( 'account.account', string='100% Discount Expense Account', help='Account used for Expense/Discount when an order has a 100% discount (0 total).', - domain="[('deprecated', '=', False)]" + domain="[('active', '=', True)]" )