[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
This commit is contained in:
parent
f4f7de1369
commit
738040e15b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue