summaryrefslogtreecommitdiff
path: root/addons/pos_discount
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2020-06-12 09:08:49 +0000
committerAntoine Prieels <anp@odoo.com>2020-06-12 12:13:22 +0000
commit1759a17c0ee3e0b1d943ac8316a1aac20ac5976c (patch)
treea84bf4a06c1343d457d049bdb5382d388827b1be /addons/pos_discount
parent2fc5180acf279ef189f522be23f1b78c8ab80506 (diff)
[IMP] point_of_sale: Hide tips and discount products
Hide the tips and discount products from the ProductScreen. TaskID: 2276054
Diffstat (limited to 'addons/pos_discount')
-rw-r--r--addons/pos_discount/models/pos_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/pos_discount/models/pos_config.py b/addons/pos_discount/models/pos_config.py
index 936aa7aa04d..cc7334a702e 100644
--- a/addons/pos_discount/models/pos_config.py
+++ b/addons/pos_discount/models/pos_config.py
@@ -10,7 +10,7 @@ class PosConfig(models.Model):
iface_discount = fields.Boolean(string='Order Discounts', help='Allow the cashier to give discounts on the whole order.')
discount_pc = fields.Float(string='Discount Percentage', help='The default discount percentage', default=10.0)
discount_product_id = fields.Many2one('product.product', string='Discount Product',
- domain="[('available_in_pos', '=', True), ('sale_ok', '=', True)]", help='The product used to model the discount.')
+ domain="[('sale_ok', '=', True)]", help='The product used to model the discount.')
@api.onchange('company_id','module_pos_discount')
def _default_discount_product_id(self):