summaryrefslogtreecommitdiff
path: root/addons/account_check_printing/views/account_move_views.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/account_check_printing/views/account_move_views.xml')
-rw-r--r--addons/account_check_printing/views/account_move_views.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/account_check_printing/views/account_move_views.xml b/addons/account_check_printing/views/account_move_views.xml
new file mode 100644
index 00000000..905a9da9
--- /dev/null
+++ b/addons/account_check_printing/views/account_move_views.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="view_account_invoice_filter" model="ir.ui.view">
+ <field name="name">account.invoice.select.account_check_printing</field>
+ <field name="model">account.move</field>
+ <field name="inherit_id" ref="account.view_account_invoice_filter"/>
+ <field name="arch" type="xml">
+ <xpath expr="//search/group/filter[@name='status']" position="after">
+ <filter name="preferred_payment_method" context="{'group_by': 'preferred_payment_method_id'}" groups="account.group_account_invoice,account.group_account_readonly"/>
+ </xpath>
+ </field>
+ </record>
+</odoo>