← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697254] [NEW] cannot create a purchase order if purchase requisition is installed

 

Public bug reported:

trunk

if you install purchase application with purchase requisition, you can not create a purchase order or a re<quest for quotation. 
Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1588, in fields_view_get
    result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1583, in _inherit_apply_rec
    result = _inherit_apply(result, inherit, id)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1525, in _inherit_apply
    raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1439, in raise_view_error
    'model': self._name, })
AttributeError: View definition error for inherited view 'purchase_requisition.purchase_order_search_inherit' on 'purchase.order' model: Element '<xpath expr="/search/group/filter[@string='To be Invoiced']">' not found in parent view 'purchase.view_purchase_order_filter'

** Affects: openobject-addons
     Importance: High
     Assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2)
         Status: Confirmed

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

Title:
  cannot create a purchase order if purchase requisition is installed

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  trunk

if you install purchase application with purchase requisition, you can not create a purchase order or a re<quest for quotation. 
Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1588, in fields_view_get
    result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1583, in _inherit_apply_rec
    result = _inherit_apply(result, inherit, id)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1525, in _inherit_apply
    raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1439, in raise_view_error
    'model': self._name, })
AttributeError: View definition error for inherited view 'purchase_requisition.purchase_order_search_inherit' on 'purchase.order' model: Element '<xpath expr="/search/group/filter[@string='To be Invoiced']">' not found in parent view 'purchase.view_purchase_order_filter'





Follow ups

References