[FIX] Fixed bugged Today filter in search views for Register Analysis and Point of...
authorThibault Delavallée <tde@openerp.com>
Fri, 10 Feb 2012 09:10:06 +0000 (10:10 +0100)
committerThibault Delavallée <tde@openerp.com>
Fri, 10 Feb 2012 09:10:06 +0000 (10:10 +0100)
bzr revid: tde@openerp.com-20120210091006-rgcal7pv5j90pntj

addons/point_of_sale/report/pos_order_report_view.xml
addons/point_of_sale/report/report_cash_register_view.xml

index 4ae53d0..c502410 100644 (file)
@@ -50,7 +50,7 @@
                         <filter icon="terp-go-today"
                              string="Today"
                              name="today"
-                             domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d'))]"
+                             domain="[('date','=', time.strftime('%%Y-%%m-%%d'))]"
                              help="POS ordered created by today"/>
                         <separator orientation="vertical"/>
                         <filter icon="terp-dolar"
index b5ef398..0fd17c9 100644 (file)
@@ -43,7 +43,7 @@
                       <filter icon="terp-go-today"
                              string="    Today    "
                              name="today"
-                             domain="[('date','&lt;=', time.strftime('%%Y-%%m-%%d'))]"
+                             domain="[('date','=', time.strftime('%%Y-%%m-%%d'))]"
                              help="Cash Analysis created by today"/>
                       <separator orientation="vertical"/>
                         <filter icon="terp-document-new"