line/book: kassenbuch öffnen/anzeige optimiert

This commit is contained in:
Frederik Jaeckel 2022-10-11 10:21:11 +02:00
parent 557a8b47ba
commit ef32bd79f9
4 changed files with 40 additions and 78 deletions

View file

@ -32,7 +32,6 @@ full copyright notices and license terms. -->
<field name="context_model">cashbook.line.context</field>
<field name="context_domain"
eval="[
('cashbook', '=', Eval('cashbook', -1)),
If(Bool(Eval('date_from')), ('date', '&gt;=', Eval('date_from')), ()),
If(Bool(Eval('date_to')), ('date', '&lt;=', Eval('date_to')), ()),
['OR',
@ -42,6 +41,9 @@ full copyright notices and license terms. -->
],
]"
pyson="1"/>
<field name="domain"
eval="[('cashbook', '=', Eval('cashbook', -1))]"
pyson="1"/>
</record>
<record model="ir.action.act_window.view" id="act_line_view-1">
<field name="sequence" eval="10"/>