Merge lp:~factorlibre/aeroo/aeroo-fix-tz into lp:aeroo

Proposed by Alberto Garcia (Factor Libre)
Status: Needs review
Proposed branch: lp:~factorlibre/aeroo/aeroo-fix-tz
Merge into: lp:aeroo
Diff against target: 12 lines (+1/-1)
1 file modified
report_aeroo/report_aeroo.py (+1/-1)
To merge this branch: bzr merge lp:~factorlibre/aeroo/aeroo-fix-tz
Reviewer Review Type Date Requested Status
Alexis de Lattre (community) code review and test Approve
Alistek developers - http://www.alistek.com Pending
Review via email: mp+215364@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexis de Lattre (alexis-via) wrote :

This PR avoid a crash : it should be merged.

review: Approve (code review and test)

Unmerged revisions

6. By Alberto Garcia (Factor Libre)

[FIX] In OpenERP 7 don't exist field context_tx. Is only tz.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'report_aeroo/report_aeroo.py'
2--- report_aeroo/report_aeroo.py 2013-05-16 15:53:25 +0000
3+++ report_aeroo/report_aeroo.py 2014-04-11 08:05:26 +0000
4@@ -765,7 +765,7 @@
5 if context is None:
6 context = {}
7 if 'tz' not in context:
8- context['tz'] = pool.get('res.users').browse(cr, uid, uid).context_tz
9+ context['tz'] = pool.get('res.users').browse(cr, uid, uid).tz
10
11 data.setdefault('model', context.get('active_model',False))
12 ir_obj = pool.get('ir.actions.report.xml')

Subscribers

People subscribed via source and target branches