Hello,}
When I try to export catalog from OpenERP it does nothing.
I checked on Report Lines and it appears this:
edit() takes exactly 4 arguments (3 given)
Traceback (most recent call last):
File "/home/consultor/openerp61/openerp6/openerp/addons/base_external_referentials/decorator.py", line 130, in wrapper
response = func(self, import_cr, uid, external_session, resource, *args, **kwargs)
File "/home/consultor/openerp61/openerp6/openerp/addons/prestashoperpconnect/product.py", line 75, in _transform_and_send_one_resource
return super(product_category, self)._transform_and_send_one_resource(*args, **kwargs)
File "/home/consultor/openerp61/openerp6/openerp/addons/base_external_referentials/external_osv.py", line 1114, 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 "/home/consultor/openerp61/openerp6/openerp/addons/base_external_referentials/external_osv.py", line 997, in send_to_external
self.ext_update(cr, uid, external_session, resources_to_update, mapping, mapping_id, context=context)
File "/home/consultor/openerp61/openerp6/openerp/addons/base_external_referentials/decorator.py", line 49, in wrapped
return func(self, cr, uid, argument, *args, **kwargs)
File "/home/consultor/openerp61/openerp6/openerp/addons/prestashoperpconnect/prestashop_osv.py", line 112, in ext_update
return self.ext_create_or_update(cr, uid, external_session, resources, 'edit', mapping=mapping, mapping_id=mapping_id, context=context)
File "/home/consultor/openerp61/openerp6/openerp/addons/prestashoperpconnect/prestashop_osv.py", line 99, in ext_create_or_update
res[resource_id] = self.call_prestashop_method(cr, uid, external_session, resource_id, resource, method, mapping=mapping, mapping_id=mapping_id, context=context)
File "/home/consultor/openerp61/openerp6/openerp/addons/prestashoperpconnect_catalog_manager/product.py", line 51, in call_prestashop_method
res = super(product_category, self).call_prestashop_method(cr, uid, external_session, resource_id, resource, method, mapping=mapping, mapping_id=mapping_id, context=context)
File "/home/consultor/openerp61/openerp6/openerp/addons/prestashoperpconnect/prestashop_osv.py", line 84, in call_prestashop_method
res = getattr(external_session.connection, ps_method)(mapping[mapping_id]['external_resource_name'], resource)
TypeError: edit() takes exactly 4 arguments (3 given)
But I'm not sure why. I tried to see what's the problem but I can't see it. Is it a prestapyt matter? Or maybe a configuration file?
Hi, some update about this problem?
Thx