[MERGE] trunk-bug-1036943-rmu: properly fill in the balance and results report generated through l10n_fr

lp bug: https://launchpad.net/bugs/1036943 fixed

bzr revid: abo@openerp.com-20120925102907-z5czw3h5xs8pfynh
This commit is contained in:
Antonin Bourguignon
2012-09-25 12:29:07 +02:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
@@ -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:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: