← Back to team overview

openerp-india team mailing list archive

[Bug 1036943] Re: [l10n_fr] Empty Balance Report & Results Report

 

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: rmu@xxxxxxxxxxx-20120816063808-3jw4q056p9nfm911

This will soon merge with trunk

Thank you!


** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Fix Committed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1036943

Title:
  [l10n_fr] Empty Balance Report & Results Report

Status in OpenERP Addons (modules):
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1036943/+subscriptions


References