Skip to content

Commit

Permalink
[MIG] sale_loyalty_partner_applicability: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arantxa-s73 committed Sep 17, 2024
1 parent 0cc3ff0 commit ca37ca2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions sale_loyalty_partner_applicability/views/res_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,21 @@
<!-- Copyright 2023 Tecnativa - Pilar Vargas Moreno
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record model="ir.ui.view" id="res_config_settings_view_form">
<record model="ir.ui.view" id="res_config_settings_view_form">
<field name="name">partner.applicability.res.config.settings.form</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="sale.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='coupon_settings']" position="after">
<div
class="col-12 col-lg-6 o_setting_box"
<xpath expr="//setting[@id='coupon_settings']" position="after">
<setting
id="coupon_sharing"
title="Allows a coupon generated for one partner to be used by any other member of your commercial entity."
>
<div class="o_setting_left_pane">
<field name="allow_coupon_sharing" />
</div>
<div class="o_setting_right_pane">
<label for="allow_coupon_sharing" />
<div class="text-muted" id="sale_coupon">
Coupon sharing between partners within the commercial entity.
</div>
</div>
</div>
</setting>
</xpath>
</field>
</record>
Expand Down

0 comments on commit ca37ca2

Please sign in to comment.