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} + + + +