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 5136189386
commit 5794a4ccb7
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. <!-- 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 The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. --> full copyright notices and license terms. -->
<tree> <tree keyword_open="1">
<field name="rec_name"/> <field name="rec_name"/>
<field name="balance" sum="Balance"/> <field name="balance" sum="Balance"/>
<field name="currency"/> <field name="currency"/>

View file

@ -2,7 +2,7 @@
<!-- This file is part of the cashbook-module from m-ds for Tryton. <!-- 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 The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. --> full copyright notices and license terms. -->
<tree> <tree keyword_open="1" tree_state="1">
<field name="name"/> <field name="name"/>
<field name="balance"/> <field name="balance"/>
<field name="currency"/> <field name="currency"/>

View file

@ -30,5 +30,11 @@ full copyright notices and license terms. -->
<field name="action" ref="act_open_tree_lines"/> <field name="action" ref="act_open_tree_lines"/>
</record> </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> </data>
</tryton> </tryton>