[MIG] sale_usability_akretion: migrate to v18

This commit is contained in:
Alexis de Lattre
2024-12-31 10:38:09 +01:00
parent bdf4a527de
commit b51c1ff7d9
16 changed files with 34 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018-2022 Akretion (http://www.akretion.com/)
Copyright 2018-2024 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).
-->
@@ -13,9 +13,7 @@
<field name="model">sale.report</field>
<field name="inherit_id" ref="sale.sale_report_view_tree"/>
<field name="arch" type="xml">
<field name="user_id" position="after">
<field name="product_id" optional="show"/>
<field name="product_uom_qty" sum="1" optional="show"/>
<field name="product_uom_qty" position="after">
<field name="qty_delivered" sum="1" optional="hide"/>
<field name="qty_to_invoice" sum="1" optional="hide"/>
<field name="product_uom" groups="uom.group_uom" optional="show"/>
@@ -24,8 +22,8 @@
</record>
<record id="sale.action_order_report_all" model="ir.actions.act_window">
<!-- native order is graph,pivot -->
<field name="view_mode">pivot,graph</field>
<!-- start by pivot, not by graph -->
<field name="view_mode">pivot,graph,list,form</field>
</record>
</odoo>