When the "Default Sorting method" for a product category in OpenERP is set to a value other than "Use Config Settings", the following error occurs (see below).
There already seems to be a bug opened and closed for this (Bug #588198), and a reference to another bug (Bug #87631) for which I don't understand the relevance.
As mentioned by others, the workaround is to set the value to "Use Config Settings".
Error with xmlrpc protocole. Error details : error 103 : Default Product Listing Sort by not exists on Available Product Listing Sort By
<class 'xmlrpclib.Fault'>
Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/base_external_referentials/decorator.py", line 130, in wrapper
response = func(self, import_cr, uid, external_session, resource, *args, **kwargs)
File "/opt/openerp/server/openerp/addons/magentoerpconnect/magerp_osv.py", line 46, in _transform_and_send_one_resource
return self.mag_transform_and_send_one_resource(cr, uid, external_session, *args, **kwargs)
File "/opt/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 1094, in _transform_and_send_one_resource
return self.send_to_external(cr, uid, external_session, {resource_id : resource}, mapping, mapping_id, update_date, context=context)
File "/opt/openerp/server/openerp/addons/base_external_referentials/external_osv.py", line 977, in send_to_external
self.ext_update(cr, uid, external_session, resources_to_update, mapping, mapping_id, context=context)
File "/opt/openerp/server/openerp/addons/magentoerpconnect/product.py", line 154, in ext_update
external_session.connection.call('catalog_category.update', [ext_id, resource[main_lang], False])
File "/opt/openerp/server/openerp/addons/magentoerpconnect/magerp_osv.py", line 222, in call
res = self.ser.call(self.session, method, arguments)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
Fault: <Fault 103: 'Default Product Listing Sort by not exists on Available Product Listing Sort By'>
When the "Default Sorting method" for a product category in OpenERP is set to a value other than "Use Config Settings", the following error occurs (see below).
There already seems to be a bug opened and closed for this (Bug #588198), and a reference to another bug (Bug #87631) for which I don't understand the relevance.
As mentioned by others, the workaround is to set the value to "Use Config Settings".
Error with xmlrpc protocole. Error details : error 103 : Default Product Listing Sort by not exists on Available Product Listing Sort By
<class 'xmlrpclib.Fault'> server/ openerp/ addons/ base_external_ referentials/ decorator. py", line 130, in wrapper server/ openerp/ addons/ magentoerpconne ct/magerp_ osv.py" , line 46, in _transform_ and_send_ one_resource transform_ and_send_ one_resource( cr, uid, external_session, *args, **kwargs) server/ openerp/ addons/ base_external_ referentials/ external_ osv.py" , line 1094, in _transform_ and_send_ one_resource to_external( cr, uid, external_session, {resource_id : resource}, mapping, mapping_id, update_date, context=context) server/ openerp/ addons/ base_external_ referentials/ external_ osv.py" , line 977, in send_to_external ext_update( cr, uid, external_session, resources_ to_update, mapping, mapping_id, context=context) server/ openerp/ addons/ magentoerpconne ct/product. py", line 154, in ext_update session. connection. call('catalog_ category. update' , [ext_id, resource[ main_lang] , False]) server/ openerp/ addons/ magentoerpconne ct/magerp_ osv.py" , line 222, in call call(self. session, method, arguments) python2. 6/xmlrpclib. py", line 1199, in __call__ send(self. __name, args) python2. 6/xmlrpclib. py", line 1489, in __request self.__ verbose python2. 6/xmlrpclib. py", line 1253, in request response( h.getfile( ), sock) python2. 6/xmlrpclib. py", line 1392, in _parse_response python2. 6/xmlrpclib. py", line 838, in close *self._ stack[0] )
Traceback (most recent call last):
File "/opt/openerp/
response = func(self, import_cr, uid, external_session, resource, *args, **kwargs)
File "/opt/openerp/
return self.mag_
File "/opt/openerp/
return self.send_
File "/opt/openerp/
self.
File "/opt/openerp/
external_
File "/opt/openerp/
res = self.ser.
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
return self._parse_
File "/usr/lib/
return u.close()
File "/usr/lib/
raise Fault(*
Fault: <Fault 103: 'Default Product Listing Sort by not exists on Available Product Listing Sort By'>