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