mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-01-23 14:51:43 +00:00
[IMP] account_ebics: add draft, done filters on ebics.file search view
This commit is contained in:
parent
e6b861dd94
commit
321fc42c89
@ -6,7 +6,6 @@
|
||||
<field name="model">ebics.file</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search EBICS Files">
|
||||
<group col="10" colspan="4">
|
||||
<field name="date_from" />
|
||||
<field name="date_to" />
|
||||
<field name="name" />
|
||||
@ -17,16 +16,32 @@
|
||||
widget="selection"
|
||||
groups="base.group_multi_company"
|
||||
/>
|
||||
</group>
|
||||
<newline />
|
||||
<filter
|
||||
string="Draft"
|
||||
name="draft"
|
||||
domain="[('state', '=', 'draft')]"
|
||||
/>
|
||||
<filter
|
||||
string="Done"
|
||||
name="done"
|
||||
domain="[('state', '=', 'confirm')]"
|
||||
/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter
|
||||
string="File Format"
|
||||
name="file_format"
|
||||
context="{'group_by':'format_id'}"
|
||||
/>
|
||||
<filter string="State" name="state" context="{'group_by':'state'}" />
|
||||
<filter string="User" name="user" context="{'group_by':'user_id'}" />
|
||||
<filter
|
||||
string="State"
|
||||
name="state"
|
||||
context="{'group_by':'state'}"
|
||||
/>
|
||||
<filter
|
||||
string="User"
|
||||
name="user"
|
||||
context="{'group_by':'user_id'}"
|
||||
/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
@ -121,7 +136,13 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Process EBICS File">
|
||||
<separator colspan="4" string="Results :" />
|
||||
<field name="note_process" colspan="4" nolabel="1" width="850" height="400" />
|
||||
<field
|
||||
name="note_process"
|
||||
colspan="4"
|
||||
nolabel="1"
|
||||
width="850"
|
||||
height="400"
|
||||
/>
|
||||
<footer>
|
||||
<button
|
||||
name="action_open_bank_statements"
|
||||
@ -142,7 +163,7 @@
|
||||
<field name="res_model">ebics.file</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" eval="False" />
|
||||
<field name="domain">[('type','=','down')]</field>
|
||||
<field name="domain">[('type', '=', 'down')]</field>
|
||||
<field name="search_view_id" ref="ebics_file_view_search" />
|
||||
</record>
|
||||
|
||||
@ -232,7 +253,7 @@
|
||||
<field name="res_model">ebics.file</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" eval="False" />
|
||||
<field name="domain">[('type','=','up')]</field>
|
||||
<field name="domain">[('type', '=', 'up')]</field>
|
||||
<field name="search_view_id" ref="ebics_file_view_search" />
|
||||
</record>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user