Skip to content

Commit

Permalink
[FIX] website_sale_picking: add missing module_id field
Browse files Browse the repository at this point in the history
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#146349

X-original-commit: 4480fe7
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Valeriya Chuprina (vchu) <vchu@odoo.com>
  • Loading branch information
vchu-odoo committed Dec 19, 2023
1 parent 6caf040 commit 7e902f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/website_sale_picking/data/payment_provider_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 7e902f8

Please sign in to comment.