openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14465
[Bug 1036943] [NEW] [l10n_fr] Empty Balance Report & Results Report
Public bug reported:
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
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: bilan empty french report resultat
** Description changed:
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.
+ - 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_bilan.py
+ - 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'.
+ - 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 submit a patch.
Here is the french topic about this issue : http://www.openerp.com/forum/topic30917.html
** Description changed:
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 submit a patch.
- Here is the french topic about this issue : http://www.openerp.com/forum/topic30917.html
+
+ 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
--
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):
New
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
Follow ups
References