Initial commit: Odoo 18.0-20251222 extra-addons
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled

This commit is contained in:
tocmo0nlord
2026-03-13 20:43:25 +00:00
parent 36e847a7df
commit adbe430761
9472 changed files with 1265727 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Camptocamp SA
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="product_pricelist_view" model="ir.ui.view">
<field name="name">product.pricelist.form.inherit</field>
<field name="model">product.pricelist</field>
<field name="inherit_id" ref="product.product_pricelist_view" />
<field name="arch" type="xml">
<xpath expr="//sheet" position="before">
<header>
<button
name="button_open_pricelist_cache_tree"
string="Display Pricelist Prices"
class="btn-primary"
type="object"
/>
</header>
</xpath>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Camptocamp SA
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="product_pricelist_cache_view_tree" model="ir.ui.view">
<field name="name">product.pricelist.cache.tree</field>
<field name="model">product.pricelist.cache</field>
<field name="arch" type="xml">
<list create="false" edit="false">
<field name="product_id" />
<field name="price" />
</list>
</field>
</record>
<record id="product_pricelist_cache_action" model="ir.actions.act_window">
<field name="name">Pricelist Cache</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.pricelist.cache</field>
<field name="view_mode">list</field>
<field name="view_id" ref="product_pricelist_cache_view_tree" />
</record>
</odoo>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Camptocamp SA
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="view_partner_property_form" model="ir.ui.view">
<field name="name">res.partner.form.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="product.view_partner_property_form" />
<field name="arch" type="xml">
<xpath expr="//group[@name='sale']" position="inside">
<field name="pricelist_cache_product_filter_id" />
</xpath>
<xpath expr="//div[@name='button_box']" postion="inside">
<button
name="button_open_pricelist_cache_tree"
string="Display Customer Prices"
type="object"
class="oe_stat_button"
icon="fa-dollar"
/>
</xpath>
</field>
</record>
</odoo>