Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Odoo v8 : server error when force export to prestashop

By
Tuan Nur Asyraf
on 7/1/15, 9:48 PM 539 views

hello all, i got this kind of server error when i tried to force update/export to prestashop.

#####################################################################


Odoo Server Error

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch

result = self._call_function(**self.params)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call

return self.endpoint(*a, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__

return self.method(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap

response = f(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 1255, in run

[action_id], request.context)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 908, in proxy

result = meth(cr, request.uid, *args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_actions.py", line 1002, in run

res = func(cr, uid, action, eval_context=eval_context, context=run_context)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/website/models/ir_actions.py", line 62, in run_action_code_multi

res = super(actions_server, self).run_action_code_multi(cr, uid, action, eval_context, context)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_actions.py", line 836, in run_action_code_multi

eval(action.code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action'

File "/usr/lib/python2.7/dist-packages/openerp/tools/safe_eval.py", line 314, in safe_eval

return eval(c, globals_dict, locals_dict)

File "", line 1, in <module>

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/pob/pob.py", line 1330, in action_multiple_synchronize_templates

response = self.export_product(cr,uid,prestashop,product_bs,combination_bs,erp_product_id,context)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/pob/pob.py", line 690, in export_product

response = self.export_template(cr,uid,prestashop,product_bs,erp_template_id,context)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/addons/pob/pob.py", line 734, in export_template

product_bs['product']['associations']['categories']['categories']['id']=str(presta_default_categ_id)

ValueError: "categories" while evaluating

u"action = pool.get('prestashoperp.sync.now').action_multiple_synchronize_templates(cr, uid, None,context=context)"

########################################################################################


any help is greatly appreciated.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/1/15, 9:48 PM
Seen: 539 times
Last updated: 7/1/15, 9:48 PM