cashbook_investment/view/book_form.xml
Frederik Jaeckel d501bd1700 book: list-view - farbige asset-zeilen,
book: Felder diff-prozent/amount + tests
2022-12-23 19:15:20 +01:00

44 lines
1.6 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of the cashbook-module from m-ds 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[@name='balance']/field[@name='balance_ref']"
position="after">
<separator colspan="4" name="quantity" string="Quantity"/>
<label name="quantity"/>
<field name="quantity" symbol="quantity_uom"/>
<label name="quantity_all"/>
<field name="quantity_all" symbol="quantity_uom"/>
<separator colspan="4" name="current_value" string="Current valuation of the investment"/>
<label name="current_value"/>
<field name="current_value" symbol="currency"/>
<label name="current_value_ref"/>
<field name="current_value_ref" symbol="company_currency"/>
<label name="diff_amount"/>
<field name="diff_amount" symbol="currency"/>
<label name="diff_percent"/>
<group id="diff_percent" col="2">
<field name="diff_percent" xexpand="0"/>
<label name="diff_percent" xalign="0.0" string="%" xexpand="1"/>
</group>
</xpath>
<xpath expr="/form/notebook/page[@id='pggeneral']" position="after">
<page name="asset" string="Asset">
<label name="asset"/>
<field name="asset"/>
<label name="quantity_uom"/>
<field name="quantity_uom"/>
<label name="quantity_digits"/>
<field name="quantity_digits"/>
<field name="asset_uomcat"/>
</page>
</xpath>
</data>