Traceback on 'Chart of taxes'

Bug #697711 reported by Jay Vora (Serpent Consulting Services)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

Clicking on Accounting/Charts/Chart of Taxes leads to this traceback:

    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/jvo/workspace/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/jvo/workspace/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jvo/workspace/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jvo/workspace/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/jvo/workspace/trunk/server/bin/osv/orm.py", line 1733, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/jvo/workspace/trunk/server/bin/osv/orm.py", line 2050, in _search
    val = eval('data[arg[0]]'+'==' +' arg[2]', locals())
  File "/home/jvo/workspace/trunk/server/bin/tools/safe_eval.py", line 281, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
KeyError: 'parent_id'

Related branches

Changed in openobject-client-web:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello Jay,

Yes you are right the error is exists on Account Tax charts. Here wizard (account.tax.chart) has domain [('parent_id','=',False)] but field parent_id does not exists on wizard. So there is no meaning of the domain here.
Changes should be done in Account module so, i moved it to respected team.

Thanks.

Changed in openobject-client-web:
status: Confirmed → In Progress
status: In Progress → Confirmed
Changed in openobject-client-web:
assignee: OpenERP SA's Web Client R&D (openerp-dev-web) → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
affects: openobject-client-web → openobject-addons
Changed in openobject-addons:
milestone: none → 6.0
status: Confirmed → In Progress
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Jay,

Fixed the problem with Addons3 branch.

revision-id: mra@mra-laptop-20110107082434-250r0yrarxitvecm
revno: 4820

Thank you,
Mustufa

Changed in openobject-addons:
status: In Progress → 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.