first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='code']" position="after">
|
||||
<label name="purchase_secondary_uom"/>
|
||||
<field name="purchase_secondary_uom"/>
|
||||
<group id="purchase_secondary_uom" col="-1" colspan="2">
|
||||
<label name="purchase_secondary_uom_factor" string="Factor:"/>
|
||||
<field name="purchase_secondary_uom_factor"/>
|
||||
<label name="purchase_secondary_uom_rate" string="Rate:"/>
|
||||
<field name="purchase_secondary_uom_rate"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//page[@id='suppliers']/field[@name='purchase_uom']" position="after">
|
||||
<label name="purchase_secondary_uom"/>
|
||||
<field name="purchase_secondary_uom"/>
|
||||
<group id="purchase_secondary_uom" col="-1" colspan="2">
|
||||
<label name="purchase_secondary_uom_factor" string="Factor:"/>
|
||||
<field name="purchase_secondary_uom_factor"/>
|
||||
<label name="purchase_secondary_uom_rate" string="Rate:"/>
|
||||
<field name="purchase_secondary_uom_rate"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/purchase_secondary_unit/view/purchase_line_form.xml
Normal file
15
modules/purchase_secondary_unit/view/purchase_line_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='amount']" position="after">
|
||||
<separator name="secondary_unit" colspan="4"/>
|
||||
<label name="secondary_quantity" string="Quantity:"/>
|
||||
<field name="secondary_quantity"/>
|
||||
<label name="secondary_unit" string="Unit:"/>
|
||||
<field name="secondary_unit"/>
|
||||
<label name="secondary_unit_price" string="Unit Price:"/>
|
||||
<field name="secondary_unit_price"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='unit_price']" position="after">
|
||||
<field name="secondary_quantity" symbol="secondary_unit" optional="1"/>
|
||||
<field name="secondary_unit_price" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/purchase_secondary_unit/view/stock_move_list.xml
Normal file
8
modules/purchase_secondary_unit/view/stock_move_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='quantity']" position="after">
|
||||
<field name="secondary_quantity" symbol="secondary_unit"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user