[account] Report: Print Taxes Report show errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Ajay Patel (OpenERP) |
Bug Description
Use Case:
- Create a new DB (WITHOUT demo data)
- Select "Accounting only profile"
- Configurate Database
- Choose a Chart of Account
- Go to: Financial Managment / Reporting / Taxes Reports
- Choose: Print Taxes Report (use default value)
Report are displayed (no exception), but server console show thoses exceptions (full log available as attachment)
[Mon Jan 12 2009 12:04:21] ERROR:report:[01]: report account.
[Mon Jan 12 2009 12:04:21] ERROR:report:[02]: Traceback (most recent call last):
[Mon Jan 12 2009 12:04:21] ERROR:report:[03]: File "/home/
[Mon Jan 12 2009 12:04:21] ERROR:report:[04]: res = eval(expr, self.localcontext)
[Mon Jan 12 2009 12:04:21] ERROR:report:[05]: File "<string>", line 1, in <module>
[Mon Jan 12 2009 12:04:21] ERROR:report:[06]: File "/home/
[Mon Jan 12 2009 12:04:21] ERROR:report:[07]: res = self._add_
[Mon Jan 12 2009 12:04:21] ERROR:report:[08]: File "/home/
[Mon Jan 12 2009 12:04:21] ERROR:report:[09]: code.sum_period = sum_tax_add
[Mon Jan 12 2009 12:04:21] ERROR:report:[10]: *UnboundLocalError: local variable 'code' referenced before assignment*
[Mon Jan 12 2009 12:04:21] ERROR:report:[11]:
[Mon Jan 12 2009 12:04:21] ERROR:report:[12]: local variable 'code' referenced before assignment
[Mon Jan 12 2009 12:04:21] ERROR:report:[13]: expr: repeatIn(
[Mon Jan 12 2009 12:04:21] ERROR:report:[01]: report account.
[Mon Jan 12 2009 12:04:21] ERROR:report:[02]: Traceback (most recent call last):
[Mon Jan 12 2009 12:04:21] ERROR:report:[03]: File "/home/
[Mon Jan 12 2009 12:04:21] ERROR:report:[04]: res = eval(expr, self.localcontext)
[Mon Jan 12 2009 12:04:21] ERROR:report:[05]: File "<string>", line 1, in <module>
[Mon Jan 12 2009 12:04:21] ERROR:report:[06]: *NameError: name 'o' is not defined*
affects openobject-addons
--
~~~~~~~
Xavier ALT T: (+352) 26 67 15 77 38
AJM Technologies S.A. F: (+352) 26 48 23 64
22, rue Goethe / L-1637 Luxembourg G: (+352) 621 372 342
Changed in openobject-addons: | |
assignee: | nobody → apa-tiny |
Changed in openobject-addons: | |
status: | Confirmed → Fix Released |
I am getting the same error.