[IMP] pre-commit: first run on whole repo
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright 2018-2020 Akretion (http://www.akretion.com/)
|
||||
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
-->
|
||||
|
||||
<odoo>
|
||||
|
||||
|
||||
@@ -13,32 +12,34 @@
|
||||
<field name="model">sale.report</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Sales Analysis">
|
||||
<field name="name"/>
|
||||
<field name="date"/>
|
||||
<field name="commercial_partner_id"/>
|
||||
<field name="user_id"/>
|
||||
<field name="product_id"/>
|
||||
<field name="product_uom_qty" sum="1"/>
|
||||
<field name="qty_delivered" sum="1"/>
|
||||
<field name="qty_to_invoice" sum="1"/>
|
||||
<field name="product_uom" groups="uom.group_uom"/>
|
||||
<field name="price_subtotal" sum="1"/>
|
||||
<field name="state"/>
|
||||
<field name="name" />
|
||||
<field name="date" />
|
||||
<field name="commercial_partner_id" />
|
||||
<field name="user_id" />
|
||||
<field name="product_id" />
|
||||
<field name="product_uom_qty" sum="1" />
|
||||
<field name="qty_delivered" sum="1" />
|
||||
<field name="qty_to_invoice" sum="1" />
|
||||
<field name="product_uom" groups="uom.group_uom" />
|
||||
<field name="price_subtotal" sum="1" />
|
||||
<field name="state" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="sale.action_order_report_all" model="ir.actions.act_window">
|
||||
<field name="context">{'search_default_Sales': 1}</field> <!-- Remove group_by_no_leaf, which breaks tree view -->
|
||||
<field
|
||||
name="context"
|
||||
>{'search_default_Sales': 1}</field> <!-- Remove group_by_no_leaf, which breaks tree view -->
|
||||
</record>
|
||||
|
||||
<record id="view_order_product_pivot" model="ir.ui.view">
|
||||
<field name="name">usability.sale.report.pivot</field>
|
||||
<field name="model">sale.report</field>
|
||||
<field name="inherit_id" ref="sale.view_order_product_pivot"/>
|
||||
<field name="inherit_id" ref="sale.view_order_product_pivot" />
|
||||
<field name="arch" type="xml">
|
||||
<pivot position="attributes">
|
||||
<attribute name="disable_linking"></attribute>
|
||||
<attribute name="disable_linking" />
|
||||
</pivot>
|
||||
</field>
|
||||
</record>
|
||||
@@ -46,10 +47,13 @@
|
||||
<record id="view_order_product_search" model="ir.ui.view">
|
||||
<field name="name">usability.sale.report.search</field>
|
||||
<field name="model">sale.report</field>
|
||||
<field name="inherit_id" ref="sale.view_order_product_search"/>
|
||||
<field name="inherit_id" ref="sale.view_order_product_search" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_id" position="after">
|
||||
<field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
|
||||
<field
|
||||
name="analytic_account_id"
|
||||
groups="analytic.group_analytic_accounting"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user