kategorie, verknüpfung zu kassenbuch, forms

This commit is contained in:
Frederik Jaeckel 2022-11-07 23:11:41 +01:00
parent 5bb6421692
commit c69b9c86d8
16 changed files with 561 additions and 0 deletions

13
view/book_form.xml Normal file
View file

@ -0,0 +1,13 @@
<?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 id="pgcategory" string="Categories" col="1">
<field name="categories"/>
</page>
</xpath>
</data>

18
view/category_form.xml Normal file
View file

@ -0,0 +1,18 @@
<?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 col="2">
<label name="name"/>
<field name="name"/>
<notebook colspan="2">
<page string="General Information" id="general" col="4">
<label name="parent"/>
<field name="parent"/>
<field name="childs" colspan="4"/>
</page>
</notebook>
<field name="company" invisible="1"/>
</form>

7
view/category_list.xml Normal file
View file

@ -0,0 +1,7 @@
<?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"/>
</tree>

9
view/category_tree.xml Normal file
View file

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