From 738040e15b9cd49fdf313a0f3c729cc9581e206d Mon Sep 17 00:00:00 2001 From: vivisci <> Date: Thu, 16 Aug 2012 12:08:08 +0530 Subject: [PATCH] [FIX] the issue of not showing data on bilan report and compute resultant report lp bug: https://launchpad.net/bugs/1036943 fixed bzr revid: rmu@tinyerp.com-20120816063808-3jw4q056p9nfm911 --- addons/l10n_fr/wizard/fr_report_bilan.py | 4 ++-- addons/l10n_fr/wizard/fr_report_compute_resultant.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/l10n_fr/wizard/fr_report_bilan.py b/addons/l10n_fr/wizard/fr_report_bilan.py index cec2e513a6a..adeab4f0ab4 100644 --- a/addons/l10n_fr/wizard/fr_report_bilan.py +++ b/addons/l10n_fr/wizard/fr_report_bilan.py @@ -49,9 +49,9 @@ class account_bilan_report(osv.osv_memory): data = {} data['form'] = {} data['ids'] = active_ids - data['form']['fiscalyear'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id + data['form']['fiscalyear_id'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id return {'type': 'ir.actions.report.xml', 'report_name': 'l10n.fr.bilan', 'datas': data} account_bilan_report() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_fr/wizard/fr_report_compute_resultant.py b/addons/l10n_fr/wizard/fr_report_compute_resultant.py index d90466ea6c4..f3833b372c4 100644 --- a/addons/l10n_fr/wizard/fr_report_compute_resultant.py +++ b/addons/l10n_fr/wizard/fr_report_compute_resultant.py @@ -49,9 +49,9 @@ class account_cdr_report(osv.osv_memory): data = {} data['form'] = {} data['ids'] = active_ids - data['form']['fiscalyear'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id + data['form']['fiscalyear_id'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id return { 'type': 'ir.actions.report.xml', 'report_name': 'l10n.fr.compute_resultant', 'datas': data} account_cdr_report() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: