Merge lp:~openerp-dev/openobject-addons/6.0-opw-757757-rha into lp:openobject-addons/6.0

Proposed by Rifakat Husen (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-757757-rha
Merge into: lp:openobject-addons/6.0
Diff against target: 18 lines (+2/-0)
1 file modified
account/wizard/account_report_profit_loss.py (+2/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-757757-rha
Reviewer Review Type Date Requested Status
Priyesh (OpenERP) (community) Approve
Review via email: mp+62125@code.launchpad.net

Description of the change

account: added context to solve Profit and Loss report filter

To post a comment you must log in.
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello Rifakat,

Your code is working fine But can you please apply the same code in all Ledger and Balance reports ?

Thanks for the fix,
Priyesh

review: Approve
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Rifakat,

Thanks for the fixes.
Can I have any updates about the fix as said by Priyesh?

Unmerged revisions

4604. By Rifakat Husen (OpenERP)

[FIX]: account: Profit and Loss filter by period has issue

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/wizard/account_report_profit_loss.py'
2--- account/wizard/account_report_profit_loss.py 2011-01-14 00:11:01 +0000
3+++ account/wizard/account_report_profit_loss.py 2011-05-24 13:27:31 +0000
4@@ -48,12 +48,14 @@
5 'type': 'ir.actions.report.xml',
6 'report_name': 'pl.account.horizontal',
7 'datas': data,
8+ 'context': data['form']['used_context']
9 }
10 else:
11 return {
12 'type': 'ir.actions.report.xml',
13 'report_name': 'pl.account',
14 'datas': data,
15+ 'context': data['form']['used_context']
16 }
17
18 account_pl_report()