[IMP] sale_coupon,sale_ebay: changed duplicate field label in the same model

This commit is contained in:
Kinjal Mehta
2018-01-04 17:27:25 +05:30
parent 39c9f0c972
commit 702f061f05
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class SaleCouponProgram(models.Model):
name = fields.Char(required=True, translate=True)
active = fields.Boolean('Active', default=True, help="A program is available for the customers when active")
rule_id = fields.Many2one('sale.coupon.rule', string="Applicability", ondelete='restrict', required=True)
rule_id = fields.Many2one('sale.coupon.rule', string="Coupon Rule", ondelete='restrict', required=True)
reward_id = fields.Many2one('sale.coupon.reward', string="Reward", ondelete='restrict', required=True, copy=False)
sequence = fields.Integer(copy=False,
help="Coupon program will be applied based on given sequence if multiple programs are " +
+1 -1
View File
@@ -14,7 +14,7 @@ class SaleCouponReward(models.Model):
reward_type = fields.Selection([
('discount', 'Discount'),
('product', 'Free Product'),
], string='Reward', default='discount',
], string='Reward Type', default='discount',
help="Discount - Reward will be provided as discount.\n" +
"Free Product - Free product will be provide as reward \n" +
"Free Shipping - Free shipping will be provided as reward (Need delivery module)")
+1 -1
View File
@@ -43,7 +43,7 @@
</group>
<group string="Rewards">
<group name='reward'>
<field name="reward_type" widget="radio"/>
<field name="reward_type" string="Reward" widget="radio"/>
<field name="discount_line_product_id" attrs="{'invisible': [('discount_line_product_id', '=', False)]}" readonly="True"/>
</group>
<group>