mirror of
https://github.com/NaN-tic/trytond-sale_margin.git
synced 2023-12-14 02:02:57 +01:00
22 lines
875 B
XML
22 lines
875 B
XML
<?xml version="1.0"?>
|
|
<!-- This file is part of sale_margin module for Tryton.
|
|
The COPYRIGHT file at the top level of this repository contains the full
|
|
copyright notices and license terms. -->
|
|
<data>
|
|
<xpath
|
|
expr="/form/notebook/page/label[@name="unit_price"]"
|
|
position="before">
|
|
<label name="cost_price"/>
|
|
<field name="cost_price"/>
|
|
</xpath>
|
|
<xpath
|
|
expr="/form/notebook/page/field[@name="amount"]"
|
|
position="after">
|
|
<label name="margin" xalign="1.0" xexpand="1"/>
|
|
<group id="margin_values" colspan="1" col="3">
|
|
<field name="margin" xalign="1.0" xexpand="0"/>
|
|
<field name="margin_percent" factor="100" xalign="1.0" xexpand="0"/>
|
|
<label name="margin_percent" string="%" xalign="0.0" xexpand="1" xfill="1"/>
|
|
</group>
|
|
</xpath>
|
|
</data>
|