diff --git a/__manifest__.py b/__manifest__.py
index b316548..15e254f 100644
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -15,7 +15,7 @@
# Categories can be used to filter modules in modules listing
'category': 'Point of Sale',
- 'version': '17.0.1.0.0',
+ 'version': '19.0.1.0.0',
# any module necessary for this one to work correctly
'depends': ['point_of_sale', 'pos_discount'],
diff --git a/models/pos_payment_method.py b/models/pos_payment_method.py
index 6868e25..cafa25e 100644
--- a/models/pos_payment_method.py
+++ b/models/pos_payment_method.py
@@ -8,13 +8,13 @@ class PosPaymentMethod(models.Model):
income_account_id = fields.Many2one(
'account.account',
string='Income Account',
- domain=[('deprecated', '=', False)],
+ domain=[('active', '=', True)],
help='Account used for income lines when splitting by payment method. '
'If empty, the default income account from the product will be used.')
discount_account_id = fields.Many2one(
'account.account',
string='Discount Account',
- domain=[('deprecated', '=', False)],
+ domain=[('active', '=', True)],
help='Account used for discount product lines when splitting by payment method. '
'If empty, the default discount account from the product will be used.')
diff --git a/views/pos_payment_method_views.xml b/views/pos_payment_method_views.xml
index 7716363..e3ef324 100644
--- a/views/pos_payment_method_views.xml
+++ b/views/pos_payment_method_views.xml
@@ -6,8 +6,8 @@
-
-
+
+