[FIX] website_sale_picking: add missing module_id field

Before this commit: there was no stat button 'publish' displayed for
payment provider 'pay in store'.

Reason: The stat button is shown when the module is installed but there
was no connected module on the 'payment_provider_onsite' record.

With this commit the module_id is added.

closes odoo/odoo#146349

X-original-commit: 4480fe7c990c498175f8e7ed75a1abf34bef9547
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Valeriya Chuprina (vchu) <vchu@odoo.com>
This commit is contained in:
Valeriya(vchu)
2023-12-19 08:12:27 +00:00
parent 6caf040e3a
commit 7e902f8cef
@@ -3,6 +3,7 @@
<record id="payment_provider_onsite" model="payment.provider">
<field name="name">Pay in Store</field>
<field name="module_id" ref="base.module_website_sale_picking"/>
<field name="code">custom</field>
<field name="state">enabled</field>
<field name="custom_mode">onsite</field>