From 74a27f5f1f32cbd7f34e0ff3d2ae370786ea28ae Mon Sep 17 00:00:00 2001 From: MOHANKUMAR T Date: Fri, 23 Feb 2024 19:55:37 +0530 Subject: [PATCH] BAH-3521 | Add. Custom filters for quotations and invoices page --- bahmni_sale/__manifest__.py | 1 + bahmni_sale/views/custom_filters.xml | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 bahmni_sale/views/custom_filters.xml diff --git a/bahmni_sale/__manifest__.py b/bahmni_sale/__manifest__.py index e5021ae..108e8b2 100644 --- a/bahmni_sale/__manifest__.py +++ b/bahmni_sale/__manifest__.py @@ -22,6 +22,7 @@ 'views/sale_config_settings.xml', 'views/pos_view.xml', 'views/address_views.xml', + 'views/custom_filters.xml', 'report/report_discount_heads.xml', 'report/sale_report.xml', 'views/account_invoice_view.xml'], diff --git a/bahmni_sale/views/custom_filters.xml b/bahmni_sale/views/custom_filters.xml new file mode 100644 index 0000000..797d304 --- /dev/null +++ b/bahmni_sale/views/custom_filters.xml @@ -0,0 +1,42 @@ + + + + account.move.search + account.move + + + + + + + + + + + + + sale.order.search + sale.order + + + + + + + + + + + + + {'search_default_today_sales':1} + + + + {'move_type':'out_invoice', 'journal_type': 'sale', 'readonly_by_pass': True, 'search_default_today_invoices':1} + + + +