From c0d05bcff2f92a715da7a33e207e27fa618aeca2 Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Tue, 28 Apr 2026 17:49:13 +0700 Subject: [PATCH] fix: update account domain filters to use active state instead of deprecated flag --- models/pos_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)]" )