book: hierarchie + test

book: Feld 'start_balance' entfernt
This commit is contained in:
Frederik Jaeckel 2022-09-15 23:49:54 +02:00
parent e10616e847
commit a2e7f192f8
16 changed files with 319 additions and 168 deletions

View file

@ -15,29 +15,32 @@ full copyright notices and license terms. -->
</group>
</group>
<label name="btype"/>
<field name="btype"/>
<label name="balance"/>
<field name="balance"/>
<newline/>
<notebook colspan="4">
<page id="pgrecon" string="Reconciliations" col="1">
<page name="reconciliations" string="Reconciliations" col="1">
<field name="reconciliations"/>
</page>
<page id="pggeneral" string="General Information" col="4">
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<field name="childs" colspan="4"/>
</page>
<page name="number_sequ" string="Amount and Numbering" col="4">
<label name="number_sequ"/>
<field name="number_sequ"/>
<label name="number_atcheck"/>
<field name="number_atcheck"/>
<label name="btype"/>
<field name="btype"/>
<label name="currency"/>
<field name="currency"/>
<label name="start_balance"/>
<field name="start_balance"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="currency"/>
<field name="currency"/>
<label id="phaccount" colspan="2" string=" "/>
</page>

View file

@ -5,7 +5,6 @@ full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="btype"/>
<field name="start_balance"/>
<field name="balance" sum="Balance"/>
<field name="currency"/>
<field name="owner"/>

14
view/book_tree.xml Normal file
View 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. -->
<tree>
<field name="name"/>
<field name="btype"/>
<field name="balance" sum="Balance"/>
<field name="currency"/>
<field name="owner"/>
<field name="state"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>

View file

@ -13,13 +13,12 @@ full copyright notices and license terms. -->
<field name="description" colspan="5"/>
<notebook colspan="6">
<page string="General Information" id="general" col="6">
<page string="General Information" id="general" col="4">
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<newline/>
<field name="childs" colspan="6"/>
<field name="childs" colspan="4"/>
</page>
</notebook>