[FIX] loyalty: invalid program field when specifying rules/rewards on new programs
Before this PR, users encountered an issue when attempting to add rules to Discount and Loyalty programs. An undesired validation message would surface, preventing them from saving their changes. In this PR, the extraneous validation has been eliminated, enabling users to successfully save and update their existing rules and rewards. Task-3487478 closes odoo/odoo#134261 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
<field name="model">loyalty.reward</field>
|
||||
<field name="arch" type="xml">
|
||||
<kanban>
|
||||
<field name="program_id"/>
|
||||
<field name="program_id" invisible="1"/>
|
||||
<field name="company_id"/>
|
||||
<field name="currency_id"/>
|
||||
<field name="description"/>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<field name="model">loyalty.rule</field>
|
||||
<field name="arch" type="xml">
|
||||
<kanban>
|
||||
<field name="program_id"/>
|
||||
<field name="program_id" invisible="1"/>
|
||||
<field name="company_id"/>
|
||||
<field name="currency_id"/>
|
||||
<field name="product_domain"/>
|
||||
|
||||
Reference in New Issue
Block a user