Merge lp:~openerp-dev/openobject-addons/6.1-opw-574689-ksa into lp:openobject-addons/6.1

Proposed by Kirti Savalia(OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6795
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-574689-ksa
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
hr_expense/report/hr_expense_report.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-574689-ksa
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+105442@code.launchpad.net

Description of the change

Hello,

Resolved Expenses Analysis report error while clicking on graph view.

It passes datetime object instead of string and raise error.

Thanks
KSA

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Not Relevant on Trunk as it will only be reproducible on GTK. If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Unmerged revisions

6795. By Kirti Savalia(OpenERP)

[FIX]:hr_expense:converted datetime type object to string, it passes datetime object instead of string and raise error while we click on any graph

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_expense/report/hr_expense_report.py'
2--- hr_expense/report/hr_expense_report.py 2012-02-21 09:01:12 +0000
3+++ hr_expense/report/hr_expense_report.py 2012-05-11 06:38:18 +0000
4@@ -72,7 +72,7 @@
5 create or replace view hr_expense_report as (
6 select
7 min(l.id) as id,
8- date_trunc('day',s.date) as date,
9+ to_char(date_trunc('day',s.date), 'YYYY-MM-DD') as date,
10 s.employee_id,
11 s.journal_id,
12 s.currency_id,