product_update_price_last_purchase: add double discount to compute options

This commit is contained in:
Luis 2024-01-18 17:09:34 +01:00
parent b16d09ded7
commit 39dd06bacc
7 changed files with 19 additions and 50 deletions

View file

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record
id="res_config_settings_view_form__compute_pvp_pricelist"
model="ir.ui.view"
>
<field
name="name"
>product.update.price.last.purchase.res.config.settings.form</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="120" />
<field name="inherit_id" ref="sale.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='pricing_setting_container']" position="inside">
<div
class="col-12 col-lg-6 o_setting_box"
name="update_price_settigs_container"
>
<div class="o_setting_right_pane">
<label
for="product_pricelist_automatic"
string="PVP Pricelist"
/>
<field name="product_pricelist_automatic" />
</div>
</div>
</xpath>
</field>
</record>
</data>
</odoo>