[7.0] Error when creating an Audit Verification Line

Bug #1137634 reported by Daniel Reis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Management System
Fix Released
Undecided
Maxime Chambreuil (http://www.savoirfairelinux.com)

Bug Description

In the "Creation: Verification List" dialog, opening the "Procedure" selection list raises the error:
Invalid field 'group_id' in leaf "<osv.ExtendedLeaf: ('group_id', '=', 'Procedure') on document_page (ctx: )>"

Server Traceback (most recent call last):
  File "/home/erp_user/openerp/repos/web/7.0/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/netsvc.py", line 295, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/service/web_services.py", line 614, in dispatch
    res = fn(db, uid, *params)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/osv.py", line 198, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/erp_user/openerp/repos/addons/7.0/audittrail/audittrail.py", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/orm.py", line 2397, in name_search
    return self._name_search(cr, user, name, args, operator, context, limit)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/orm.py", line 2428, in _name_search
    ids = self._search(cr, user, args, limit=limit, context=context, access_rights_uid=access_rights_uid)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/orm.py", line 4843, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/orm.py", line 4674, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/expression.py", line 632, in __init__
    self.parse(cr, uid, context=context)
  File "/home/erp_user/openerp/repos/server/7.0/openerp/osv/expression.py", line 806, in parse
    raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'group_id' in leaf "<osv.ExtendedLeaf: ('group_id', '=', 'Procedure') on document_page (ctx: )>"

Related branches

Changed in openerp-mgmtsystem:
assignee: nobody → Virgil Dupras (hsoft)
Revision history for this message
Daniel Reis (dreis-pt) wrote :

I found a similar problem with standard Project Issue, on the "Project" selection ... may it be a problem specific to my installation?

Changed in openerp-mgmtsystem:
assignee: Virgil Dupras (hsoft) → Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903)
Changed in openerp-mgmtsystem:
status: New → Fix Committed
Changed in openerp-mgmtsystem:
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.