From 97d097a2af8c3992d5108bd75b82fa8479d196cc Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 14 Aug 2014 18:01:37 +0200 Subject: [PATCH] [FIX] point_of_sale: field date of report.pos.order should be a datetime The date_order field of the pos.order is a datetime, not a date As, in report.pos.order, the date field is related to date_order of the pos.order We usually do not commit fixes altering the model fields structure in 7.0, but this one is retro-compatible, as the database structure won't change --- addons/point_of_sale/report/pos_order_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/report/pos_order_report.py b/addons/point_of_sale/report/pos_order_report.py index 62250f11e17..c27738ec230 100644 --- a/addons/point_of_sale/report/pos_order_report.py +++ b/addons/point_of_sale/report/pos_order_report.py @@ -27,7 +27,7 @@ class pos_order_report(osv.osv): _description = "Point of Sale Orders Statistics" _auto = False _columns = { - 'date': fields.date('Date Order', readonly=True), + 'date': fields.datetime('Date Order', readonly=True), 'year': fields.char('Year', size=4, readonly=True), 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),