cashbook_report/evaluation_context.xml
2022-11-02 23:07:37 +01:00

31 lines
1.3 KiB
XML

<?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. -->
<tryton>
<data>
<!-- graph-view with context-form -->
<record model="ir.ui.view" id="evaluation_context_form">
<field name="model">cashbook_report.evaluation.context</field>
<field name="type">form</field>
<field name="name">evaluation_context_form</field>
</record>
<!-- action view - cashbook-graph -->
<record model="ir.action.act_window" id="act_evaluation_book_view">
<field name="name">Evaluation</field>
<field name="res_model">cashbook_report.eval_book</field>
<field name="context_model">cashbook_report.evaluation.context</field>
<field name="domain"
eval="[('evaluation', '=', Eval('evaluation', -1))]"
pyson="1"/>
</record>
<record model="ir.action.act_window.view" id="act_evaluation_book_view-1">
<field name="sequence" eval="10"/>
<field name="view" ref="book_view_graph"/>
<field name="act_window" ref="act_evaluation_book_view"/>
</record>
</data>
</tryton>