[l10n_fr] Empty Balance Report & Results Report

Bug #1036943 reported by vivisci
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

Tested on openerp-server 6.0.3 but it should also affect 6.0.X and 6.1. (I didn't check on previous versions).
(Same problem on web client and gtk client)

How to reproduce the bug :
  - Install the addon l10n_fr, french account plan (France - Plan comptable général)
  - Create some journal items if you didn't have
  - Go to 'Accounting -> Journal Entries -> Journal Items
  - Click on 'Bilan report' or 'Compte de resultat report' on the sidebar
  - The PDF generated will contain only the template/structure of the table, without data.

How to fix it :
  - Edit file : addons/l10n_fr/wizard/fr_report_bilan.py
  - in the last lines, you should find : data['form']['fiscalyear'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id
  - Replace by : data['form']['fiscalyear_id'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id
  - Fix the same mistake in the file addons/l10n_fr/wizard/fr_report_compute_resultant.py

Why :
  - In addons/l10n_fr/report/base_report.py, it's waiting for 'fiscalyear' not 'fiscalyear_id'.

I'm sorry I don't have the environnement to create a patch.
Here is the french topic about this issue : http://www.openerp.com/forum/post111638.html#p111638

Related branches

vivisci (a-s2gnup-w)
description: updated
description: updated
Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello,

 It has been fixed on branch lp:~openerp-dev/openobject-addons/trunk-bug-1036943-rmu with Following Revision Number and Revision ID.

Revision Number: 7258
Revision ID: <email address hidden>

This will soon merge with trunk

Thank you!

Changed in openobject-addons:
importance: Undecided → Low
status: New → Fix Committed
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Anto (abourguignon) wrote :

Hello,

The fix has been released in trunk (revno 7541), thanks.

Regards,
Anto.

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.