[FIX] sale_coupon: Display the reward product on program

In case we want to improve the product description
This commit is contained in:
Yannick Tivisse
2017-01-30 14:37:31 +01:00
parent 05f3babfb7
commit 4cd8b06d7e
+1 -1
View File
@@ -45,7 +45,7 @@
<group string="Rewards">
<group name='reward'>
<field name="reward_type" widget="radio"/>
<field name="discount_line_product_id" groups="base.group_no_one"/>
<field name="discount_line_product_id"/>
</group>
<group>
<field name="reward_product_id" attrs="{'invisible': [('reward_type', 'in', ('discount', 'free_shipping'))], 'required': [('reward_type', '=', 'product')]}" placeholder="Select reward product"/>