fix: update account domain filters to use active state instead of deprecated flag
This commit is contained in:
parent
d975966b70
commit
c0d05bcff2
@ -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)]"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user