[6.1] reports: formatLang() must respect timezones

Bug #932170 reported by Lorenzo Battistini
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Medium
OpenERP's Framework R&D

Bug Description

openobject-server/trunk revno 4057

 - Create new db and install 'stock'
 - Set your timezone
 - Create new delivery order
 - Print 'packing list'

Report shows the UTC time, as saved in db, even if the template uses '[[ formatLang(picking.min_date,date_time = True) ]]'

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

You're right, we need to improve formatLang() to properly consider the timezone, this had been overlooked apparently.

Thanks for reporting!

Changed in openobject-server:
importance: Undecided → Medium
milestone: none → 6.1
status: New → Confirmed
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
summary: - reports: formatLang not taken in account
+ [6.1] reports: formatLang() must respect timezones
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The fix has landed in trunk are revision 4063 rev-id: <email address hidden>.

Thanks for reporting!

Changed in openobject-server:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.