neu: kategorie, config + test

This commit is contained in:
Frederik Jaeckel 2022-08-09 15:08:41 +02:00
parent b9bb433c39
commit d6a8b254a3
28 changed files with 1255 additions and 35 deletions

View file

@ -8,6 +8,10 @@ full copyright notices and license terms. -->
<label name="btype"/>
<field name="btype"/>
<label name="account"/>
<field name="account"/>
<newline/>
<label name="state"/>
<field name="state"/>
<group id="grpstate" col="3" colspan="2">

View file

@ -5,6 +5,7 @@ full copyright notices and license terms. -->
<tree>
<field name="name"/>
<field name="btype"/>
<field name="account"/>
<field name="owner"/>
<field name="reviewer"/>
<field name="observer"/>

View file

@ -15,5 +15,7 @@ full copyright notices and license terms. -->
<field name="checked"/>
<label name="done"/>
<field name="done"/>
<field name="num_cashbook"/>
</form>

24
view/category_form.xml Normal file
View file

@ -0,0 +1,24 @@
<?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. -->
<form>
<label name="name"/>
<field name="name"/>
<label name="account"/>
<field name="account"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="6">
<page string="General Information" id="general" col="6">
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<field name="childs" colspan="4"/>
</page>
</notebook>
</form>

8
view/category_list.xml Normal file
View file

@ -0,0 +1,8 @@
<?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="rec_name"/>
<field name="account"/>
</tree>

10
view/category_tree.xml Normal file
View file

@ -0,0 +1,10 @@
<?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="account_code"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form>
<separator id="sepwiz" colspan="4" string="Open Cashbook Wizard"/>
<label name="date_from"/>
<field name="date_from"/>
<label name="date_to"/>
<field name="date_to"/>
<label name="checked"/>
<field name="checked"/>
<label name="done"/>
<field name="done"/>
</form>