c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10616
[Bug 696942] [NEW] [6.0RC2] purchase order search
Public bug reported:
in purchase view : name of not invoiced search move from "to be invoiced" to "Not invoiced"
but in purchase requisition, inherit is always on "to be invoiced" ... So, we have :
Environment Information :
System : Linux-2.6.32-26-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 1588, in fields_view_get
result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 1583, in _inherit_apply_rec
result = _inherit_apply(result, inherit, id)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/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 "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/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'
Just have to change string="" .....
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/696942
Title:
[6.0RC2] purchase order search
Status in OpenObject Addons Modules:
New
Bug description:
in purchase view : name of not invoiced search move from "to be invoiced" to "Not invoiced"
but in purchase requisition, inherit is always on "to be invoiced" ... So, we have :
Environment Information :
System : Linux-2.6.32-26-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-26-generic
Operating System Version : #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 1588, in fields_view_get
result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/bin/osv/orm.py", line 1583, in _inherit_apply_rec
result = _inherit_apply(result, inherit, id)
File "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/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 "/opt/openerp/somafrac/openerp-server-6.0.0-rc2/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'
Just have to change string="" .....
Follow ups
References