[MIG] sale_margin_no_onchange from v14 to v16

This commit is contained in:
Alexis de Lattre
2025-01-16 19:19:19 +01:00
parent 699ebd5893
commit 2ca1279cb5
7 changed files with 221 additions and 138 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2025 Akretion France (https://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="sale_report_view_tree" model="ir.ui.view">
<field name="model">sale.report</field>
<field name="inherit_id" ref="sale.sale_report_view_tree"/>
<field name="arch" type="xml">
<field name="price_total" position="after">
<field name="margin" sum="1" optional="hide"/>
</field>
</field>
</record>
</odoo>