This commit is contained in:
2026-03-12 11:39:43 +01:00
parent 683d3600ac
commit 8da50c72c7
3 changed files with 11 additions and 1 deletions

View File

@@ -156,6 +156,12 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">mtm_tree</field>
</record>
<record model="ir.ui.view" id="price_composition_view_tree">
<field name="model">price.composition</field>
<field name="type">tree</field>
<field name="name">price_composition_tree</field>
</record>
<menuitem
name="Pnl Report"
parent="purchase_trade.menu_global_reporting"

View File

@@ -0,0 +1,4 @@
<tree editable="1">
<field name="component"/>
<field name="price"/>
</tree>

View File

@@ -54,7 +54,7 @@ this repository contains the full copyright notices and license terms. -->
</xpath>
<xpath expr="/form/notebook/page[@id='taxes']" position="before">
<page string="Price composition" col="4" id="pc">
<field name="price_composition"/>
<field name="price_composition" view_ids="purchase_trade.price_composition_view_tree"/>
</page>
<page string="Lots" col="4" id="lots">
<field name="lots" view_ids="lot.lot_view_tree_sequence"/>