[IMP] account_ebics: add draft, done filters on ebics.file search view

This commit is contained in:
Luc De Meyer 2025-01-03 14:28:50 +01:00
parent 8e50d65885
commit 7425d6003b

View File

@ -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,28 @@
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', '=', 'done')]" />
<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>
@ -124,7 +135,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"