[FIX] loyalty: missing invisible reward_product_uom_id

Steps to reproduce:
- Go to reward and loyalty add a reward to a program
- Select the free product reward in type
- Select a product

Current behavior:
There is a JS traceback

Explanation:
The reward_product_uom_id was missing from the form

closes odoo/odoo#103272

X-original-commit: 7552a828ce72e51ecd171519f6de6b14478791ac
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
Signed-off-by: Fockedey Martin (mafo) <mafo@odoo.com>
This commit is contained in:
mafo-odoo
2022-10-17 13:09:20 +02:00
parent 9a640383c9
commit 73a49fbe82
@@ -8,6 +8,7 @@
<field name="program_type" invisible="1"/>
<field name="user_has_debug" invisible="1"/>
<field name="multi_product" invisible="1"/>
<field name="reward_product_uom_id" invisible="1"/>
<field name="reward_product_ids" invisible="1"/>
<field name="all_discount_product_ids" invisible="1"/>
<sheet>