add menu, groups, planner-list, forms...

This commit is contained in:
Frederik Jaeckel 2024-02-24 23:43:59 +01:00
parent cd79072e2c
commit ebb1efe7a8
15 changed files with 526 additions and 0 deletions

14
view/book_form.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-planner 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="planner" string="Scheduled Bookings" col="1">
<field name="planner"/>
</page>
</xpath>
</data>

24
view/planner_form.xml Normal file
View file

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-planner 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="4">
<label name="cashbook"/>
<field name="cashbook" colspan="3"/>
<label name="name"/>
<field name="name"/>
<label name="active"/>
<field name="active"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<label name="description"/>
<newline/>
<field name="description" colspan="4"/>
</form>

9
view/planner_list.xml Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-planner 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="active"/>
<field name="name"/>
<field name="cashbook"/>
</tree>