← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 878756] [NEW] [6.1 rc1] PO view always give error

 

Public bug reported:

Using default data, Purchase Management > Requests for Quotation doesn't
give an error but Purchase Management > Purchase Orders does.

This is using Anthony Lessuisse's installation at Grand Rosieres.

OpenERP Server Error
Client Traceback (most recent call last):
  File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 943, in load
    fields_view = self.fields_view_get(req, model, view_id, 'search')
  File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 763, in fields_view_get
    fvg = Model.fields_view_get(view_id, view_type, context, toolbar, submenu)
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
    *args)
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 264, in send
    raise fault


Server Traceback (most recent call last):
  File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2090, in fields_view_get
    arch=apply_view_inheritance(cr, user, source, sql_res['id']),
  File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2048, in apply_view_inheritance
    source = apply_inheritance_specs(source, view_arch, view_id)
  File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2033, in apply_inheritance_specs
    raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
  File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1931, in raise_view_error
    %  (child_view.xml_id, self._name, error_msg))
AttributeError: View definition error for inherited view 'purchase_requisition.purchase_order_search_inherit' on model 'purchase.order': Element '<xpath expr="/search/group/filter[@string='Not invoices']">' not found in parent view '%(parent_xml_id)s'

** Affects: openerp-web
     Importance: Undecided
         Status: New


** Tags: rc1

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/878756

Title:
  [6.1 rc1] PO view always give error

Status in OpenERP Web:
  New

Bug description:
  Using default data, Purchase Management > Requests for Quotation
  doesn't give an error but Purchase Management > Purchase Orders does.

  This is using Anthony Lessuisse's installation at Grand Rosieres.

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 943, in load
      fields_view = self.fields_view_get(req, model, view_id, 'search')
    File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 763, in fields_view_get
      fvg = Model.fields_view_get(view_id, view_type, context, toolbar, submenu)
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
      *args)
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 264, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2090, in fields_view_get
      arch=apply_view_inheritance(cr, user, source, sql_res['id']),
    File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2048, in apply_view_inheritance
      source = apply_inheritance_specs(source, view_arch, view_id)
    File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2033, in apply_inheritance_specs
      raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
    File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1931, in raise_view_error
      %  (child_view.xml_id, self._name, error_msg))
  AttributeError: View definition error for inherited view 'purchase_requisition.purchase_order_search_inherit' on model 'purchase.order': Element '<xpath expr="/search/group/filter[@string='Not invoices']">' not found in parent view '%(parent_xml_id)s'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/878756/+subscriptions


Follow ups

References