Rifakat (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-573425-rha into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)
Related bugs:
  Bug #943280 in OpenERP Addons: "Purchase analyses error on graph"
  https://bugs.launchpad.net/openobject-addons/+bug/943280

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-573425-rha/+merge/100950

Hello,

Resolved Purchase analyses report error while clicking on graph view.

Converted datetime type object to string, it passes datetime object instead of 
string and raise error.
Please review it.

Regards,
Rifakat
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-573425-rha/+merge/100950
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-573425-rha.
=== modified file 'purchase/report/purchase_report.py'
--- purchase/report/purchase_report.py	2011-12-21 22:15:04 +0000
+++ purchase/report/purchase_report.py	2012-04-05 12:24:23 +0000
@@ -81,7 +81,7 @@
                     to_char(s.date_order, 'YYYY-MM-DD') as day,
                     s.state,
                     s.date_approve,
-                    date_trunc('day',s.minimum_planned_date) as expected_date,
+                    to_char(date_trunc('day',s.minimum_planned_date), 'YYYY-MM-DD') as expected_date,
                     s.partner_address_id,
                     s.dest_address_id,
                     s.pricelist_id,

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to