Skip to Content
Menu
This question has been flagged
1 Reply
1496 Views

Hi, We are trying to setup the woocommerce connector from Emipro. We get it to synch one way from our webstore to Odoo but cannot get it to synch back. Any ideas? This is the error I get when exporting

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
  File "/home/odoo/src/odoo/odoo/http.py", line 1578, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/home/odoo/src/odoo/odoo/service/model.py", line 134, in retrying
    result = func()
  File "/home/odoo/src/odoo/odoo/http.py", line 1607, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/home/odoo/src/odoo/odoo/http.py", line 1804, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 227, in _dispatch
    response = super()._dispatch(endpoint)
  File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 140, in _dispatch
    result = endpoint(**request.params)
  File "/home/odoo/src/odoo/odoo/http.py", line 698, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 46, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/home/odoo/src/odoo/odoo/api.py", line 461, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/home/odoo/src/odoo/odoo/api.py", line 448, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/home/odoo/src/user/woo_commerce_ept/wizard/process_import_export.py", line 624, in woo_export_products
    self.import_export_category_tag(instance)
  File "/home/odoo/src/user/woo_commerce_ept/wizard/process_import_export.py", line 643, in import_export_category_tag
    self.sync_woo_product_category(instance)
  File "/home/odoo/src/user/woo_commerce_ept/wizard/process_import_export.py", line 315, in sync_woo_product_category
    woo_category_obj.sync_woo_product_category(woo_instance,
  File "/home/odoo/src/user/woo_commerce_ept/models/product_category_ept.py", line 143, in sync_woo_product_category
    wc_api = instance.woo_connect()
  File "/home/odoo/src/user/woo_commerce_ept/models/instance_ept.py", line 1014, in woo_connect
    wc_api = woocommerce.api.API(url=host, consumer_key=consumer_key, consumer_secret=consumer_secret,
  File "/home/odoo/src/user/woo_commerce_ept/woocommerce/api.py", line 32, in __init__
    self.is_ssl = self.__is_ssl()
  File "/home/odoo/src/user/woo_commerce_ept/woocommerce/api.py", line 39, in __is_ssl
    return self.url.startswith("https")
AttributeError: 'bool' object has no attribute 'startswith'


Avatar
Discard
Best Answer

Hello Jaco,

I hope you are doing well.

- The error says 'self.url' is used but the value is not added

- So please add url and then check.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Discard
Related Posts Replies Views Activity
3
Sep 21
5971
3
Oct 18
3731
0
Nov 16
3185
1
Feb 24
975
3
Jan 21
2442