uiview erstellen+test, context-view begonnen
This commit is contained in:
parent
5809a7caba
commit
17ddfa12ca
7 changed files with 135 additions and 40 deletions
31
evaluation_context.xml
Normal file
31
evaluation_context.xml
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?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>
|
Loading…
Add table
Add a link
Reference in a new issue