fix: remove required constraint from reward_product_applicability field in loyalty_reward model
This commit is contained in:
parent
084bec9c04
commit
c3ddb22069
@ -10,7 +10,7 @@ class LoyaltyReward(models.Model):
|
|||||||
reward_product_applicability = fields.Selection([
|
reward_product_applicability = fields.Selection([
|
||||||
('specific', 'Specific Product(s)'),
|
('specific', 'Specific Product(s)'),
|
||||||
('cheapest', 'Cheapest Product on Order')
|
('cheapest', 'Cheapest Product on Order')
|
||||||
], string='Reward Product Applicability', default='specific', required=True)
|
], string='Reward Product Applicability', default='specific')
|
||||||
|
|
||||||
reward_product_category_id = fields.Many2one(
|
reward_product_category_id = fields.Many2one(
|
||||||
'product.category', string='Reward Product Category',
|
'product.category', string='Reward Product Category',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user