book: tree-ansicht speichert baumzustand + öffnet inhalt bei dppelklick

This commit is contained in:
Frederik Jaeckel 2022-10-08 15:32:35 +02:00
parent de168a8476
commit 51c74cb42e
3 changed files with 8 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<!-- 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 keyword_open="1">
<field name="rec_name"/>
<field name="balance" sum="Balance"/>
<field name="currency"/>

View file

@ -2,7 +2,7 @@
<!-- 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 keyword_open="1" tree_state="1">
<field name="name"/>
<field name="balance"/>
<field name="currency"/>

View file

@ -30,5 +30,11 @@ full copyright notices and license terms. -->
<field name="action" ref="act_open_tree_lines"/>
</record>
<record model="ir.action.keyword" id="act_open_tree_lines_keyword3">
<field name="keyword">tree_open</field>
<field name="model">cashbook.book,-1</field>
<field name="action" ref="act_open_tree_lines"/>
</record>
</data>
</tryton>