book/line: felder für quantity, etc.

This commit is contained in:
Frederik Jaeckel 2022-12-22 00:32:26 +01:00
parent 510b85f99f
commit 70416dbc12
15 changed files with 583 additions and 0 deletions

20
view/book_form.xml Normal file
View file

@ -0,0 +1,20 @@
<?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[@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>

22
view/line_form.xml Normal file
View file

@ -0,0 +1,22 @@
<?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/field[@name='reference']" position="after">
<label name="quantity" />
<field name="quantity" symbol="quantity_uom"/>
<label name="asset_rate"/>
<!--<field name="asset_rate"/>-->
<group id="asset_rate" col="2">
<field name="asset_rate" xexpand="0"/>
<field name="number" xalign="0.0" xexpand="0"/>
</group>
<field name="quantity_digits"/>
<newline/>
</xpath>
</data>