[FIX]:lp-649148 stock move analysis - wrong domain
authorksa (Open ERP) <ksa@tinyerp.co.in>
Fri, 12 Nov 2010 10:41:23 +0000 (16:11 +0530)
committerksa (Open ERP) <ksa@tinyerp.co.in>
Fri, 12 Nov 2010 10:41:23 +0000 (16:11 +0530)
bzr revid: ksa@tinyerp.co.in-20101112104123-oncdy8iuqhys4ah2

addons/stock/report/report_stock_move.py

index 49c3f8f..15e430d 100644 (file)
@@ -62,7 +62,7 @@ class report_stock_move(osv.osv):
             CREATE OR REPLACE view report_stock_move AS (
                 SELECT
                         min(sm_id) as id,
-                        al.dp as date,
+                        date_trunc('day',al.dp) as date,
                         al.curr_year as year,
                         al.curr_month as month,
                         al.curr_day as day,