diff --git a/bahmni_sale/views/custom_filters.xml b/bahmni_sale/views/custom_filters.xml
index 797d304..85597bf 100644
--- a/bahmni_sale/views/custom_filters.xml
+++ b/bahmni_sale/views/custom_filters.xml
@@ -7,9 +7,10 @@
-
+
+ domain="[('create_date','>=',(datetime.date.today()-datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 00:00:00')),('create_date','<=',(datetime.date.today()-datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 23:59:59'))]"/>
@@ -22,9 +23,10 @@
-
+
+ domain="[('create_date','>=',(datetime.date.today()-datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 00:00:00')),('create_date','<=',(datetime.date.today()-datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d 23:59:59'))]"/>
@@ -35,7 +37,9 @@
- {'move_type':'out_invoice', 'journal_type': 'sale', 'readonly_by_pass': True, 'search_default_today_invoices':1}
+ {'move_type':'out_invoice', 'journal_type': 'sale', 'readonly_by_pass': True,
+ 'search_default_today_invoices':1}
+