book: list-view - farbige asset-zeilen,
book: Felder diff-prozent/amount + tests
This commit is contained in:
parent
8f8da805d4
commit
d501bd1700
8 changed files with 249 additions and 31 deletions
|
@ -12,11 +12,20 @@ full copyright notices and license terms. -->
|
|||
<label name="quantity_all"/>
|
||||
<field name="quantity_all" symbol="quantity_uom"/>
|
||||
|
||||
<separator colspan="4" name="current_value" string="Current value of the asset"/>
|
||||
<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">
|
||||
|
|
14
view/book_list.xml
Normal file
14
view/book_list.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?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="/tree/field[@name='balance']" position="after">
|
||||
<field name="current_value"/>
|
||||
<field name="diff_amount"/>
|
||||
<field name="diff_percent"/>
|
||||
<field name="quantity"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
12
view/book_tree.xml
Normal file
12
view/book_tree.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?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="/tree/field[@name='balance']" position="after">
|
||||
<field name="diff_amount"/>
|
||||
<field name="diff_percent"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
Loading…
Add table
Add a link
Reference in a new issue