[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user