← Back to team overview

openerp-dev-web team mailing list archive

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

 

Rifakat Haradwala (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/6.0-opw-757757-rha into lp:openobject-addons/6.0.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #757757 in OpenERP Addons: "Profit and Loss filter by period has issue"
  https://bugs.launchpad.net/openobject-addons/+bug/757757

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-757757-rha/+merge/62125

account: added context to solve Profit and Loss report filter
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-757757-rha/+merge/62125
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/6.0-opw-757757-rha.
=== modified file 'account/wizard/account_report_profit_loss.py'
--- account/wizard/account_report_profit_loss.py	2011-01-14 00:11:01 +0000
+++ account/wizard/account_report_profit_loss.py	2011-05-24 13:27:31 +0000
@@ -48,12 +48,14 @@
                 'type': 'ir.actions.report.xml',
                 'report_name': 'pl.account.horizontal',
                 'datas': data,
+                'context': data['form']['used_context']
             }
         else:
             return {
                 'type': 'ir.actions.report.xml',
                 'report_name': 'pl.account',
                 'datas': data,
+                'context': data['form']['used_context']
             }
 
 account_pl_report()


Follow ups