diff --git a/addons/pos_discount/discount.py b/addons/pos_discount/discount.py index a3b259d734c..427c3194a10 100644 --- a/addons/pos_discount/discount.py +++ b/addons/pos_discount/discount.py @@ -14,7 +14,7 @@ class pos_config(osv.osv): _columns = { 'iface_discount': fields.boolean('Order Discounts', help='Allow the cashier to give discounts on the whole order.'), 'discount_pc': fields.float('Discount Percentage', help='The default discount percentage'), - 'discount_product_id': fields.many2one('product.product','Discount Product', help='The product used to model the discount'), + 'discount_product_id': fields.many2one('product.product', 'Discount Product', domain="[('available_in_pos', '=', True)]", help='The product used to model the discount'), } _defaults = { 'iface_discount': True,