12.03.26
This commit is contained in:
@@ -156,6 +156,12 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
<field name="name">mtm_tree</field>
|
<field name="name">mtm_tree</field>
|
||||||
</record>
|
</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
|
<menuitem
|
||||||
name="Pnl Report"
|
name="Pnl Report"
|
||||||
parent="purchase_trade.menu_global_reporting"
|
parent="purchase_trade.menu_global_reporting"
|
||||||
|
|||||||
4
modules/purchase_trade/view/price_composition_tree.xml
Normal file
4
modules/purchase_trade/view/price_composition_tree.xml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<tree editable="1">
|
||||||
|
<field name="component"/>
|
||||||
|
<field name="price"/>
|
||||||
|
</tree>
|
||||||
@@ -54,7 +54,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="/form/notebook/page[@id='taxes']" position="before">
|
<xpath expr="/form/notebook/page[@id='taxes']" position="before">
|
||||||
<page string="Price composition" col="4" id="pc">
|
<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>
|
||||||
<page string="Lots" col="4" id="lots">
|
<page string="Lots" col="4" id="lots">
|
||||||
<field name="lots" view_ids="lot.lot_view_tree_sequence"/>
|
<field name="lots" view_ids="lot.lot_view_tree_sequence"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user