diff options
| author | Antoine Prieels <anp@odoo.com> | 2020-06-12 09:08:49 +0000 |
|---|---|---|
| committer | Antoine Prieels <anp@odoo.com> | 2020-06-12 12:13:22 +0000 |
| commit | 1759a17c0ee3e0b1d943ac8316a1aac20ac5976c (patch) | |
| tree | a84bf4a06c1343d457d049bdb5382d388827b1be /addons/pos_discount | |
| parent | 2fc5180acf279ef189f522be23f1b78c8ab80506 (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.py | 2 |
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): |
