diff --git a/sale_coupon_reward_fixed_price/views/coupon_program_view.xml b/sale_coupon_reward_fixed_price/views/coupon_program_view.xml index 4078b98ae..2214d257c 100644 --- a/sale_coupon_reward_fixed_price/views/coupon_program_view.xml +++ b/sale_coupon_reward_fixed_price/views/coupon_program_view.xml @@ -38,12 +38,12 @@ {"invisible": [("reward_type", "in", ("product", "free_shipping", "fixed_price"))]} + >{"invisible": [("reward_type", "in", ("product", "free_shipping", "fixed_price", "discount_line"))]} {"invisible": [("reward_type", "in", ("product", "free_shipping", "fixed_price"))]} + >{"invisible": [("reward_type", "in", ("product", "free_shipping", "fixed_price", "discount_line"))]} - {"invisible": [("reward_type", "in", ("discount", "free_shipping", - "discount_line"))], "required": [("reward_type", "=", "product")]} + {"invisible": [("reward_type", "!=", "product")], "required": [("reward_type", "=", "product")]} @@ -19,14 +18,12 @@ - {"invisible": [("reward_type", "in", ("product", "free_shipping", - "discount_line"))]} + {"invisible": [("reward_type", "!=", "discount")]} - {"invisible": [("reward_type", "in", ("product", "free_shipping", - "discount_line"))]} + {"invisible": [("reward_type", "!=", "discount")]} @@ -49,15 +46,13 @@ - {'invisible': ['|', ('reward_type', 'in', ('product', - 'free_shipping', "discount_line")), ('discount_type', '!=', + {'invisible': ['|', ('reward_type', '!=', 'discount'), ('discount_type', '!=', 'percentage')]} - {'invisible': ['|', ('reward_type', 'in', ('product', - 'free_shipping', "discount_line")), ('discount_type', '!=', + {'invisible': ['|', ('reward_type', '!=', 'discount'), ('discount_type', '!=', 'percentage')]}