balance sheet with errors

Bug #663358 reported by Cristian Salamea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
Dhruti Shastri(OpenERP)

Bug Description

Hello, with fresh installation for account module print the Balance Sheet with this options:
Target moves: All Entries
Display Accounts: all
Filters by: No filters
And show the attached report.

Regards,

Revision history for this message
Cristian Salamea (ovnicraft) wrote :
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

and server give this:

Traceback (most recent call last):
  File "/home/ovnicraft/development/openerp/server/bin/report/render/rml2pdf/utils.py", line 89, in _child_get
    eval(n.get('rml_except'), {}, self.localcontext)
  File "/home/ovnicraft/development/openerp/server/bin/tools/safe_eval.py", line 271, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/home/ovnicraft/repos/openerp-commiter/addons_trunk/account/report/account_balance_sheet.py", line 106, in get_data
    if self.res_bl['type'] == 'Net Profit C.F.B.L.':
KeyError: 'type'

I think is very buggy 'burn' "Net Profit C.F.B.L." in the code

Regards,

Changed in openobject-addons:
assignee: nobody → DHS(OpenERP) (dhs-openerp)
Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi Cristian,

It has been fixed by revision <email address hidden> in trunk-dev-addons3.
It will be merged this week.

Thanks for reporting.

Changed in openobject-addons:
status: Confirmed → Fix Committed
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.