Community mailing list archives

community@mail.odoo.com

Wocommerce Connector Problem to import product (V8)

by
Md. Tanzilul Hasan Khan
- 11/27/2016 00:50:56
Hello,

I am trying to import products from woocommerce to odoo db but can't. I having an exception like below:

Traceback (most recent call last):
  File "/home/Tanzil/erp_sources/custom/addons/connector/queue/worker.py", line 124, in run_job
    job.perform(session)
  File "/home/Tanzil/erp_sources/custom/addons/connector/queue/job.py", line 512, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "/home/Tanzil/erp_sources/custom/addons/woocommerceerpconnect/unit/import_synchronizer.py", line 284, in import_record
    importer.run(woo_id, force=force)
  File "/home/Tanzil/erp_sources/custom/addons/woocommerceerpconnect/unit/import_synchronizer.py", line 203, in run
    self._import_dependencies()
  File "/home/Tanzil/erp_sources/custom/addons/woocommerceerpconnect/model/product.py", line 162, in _import_dependencies
    record = record['product']
KeyError: 'product'

Also in odoo log I found this:
'message': 'No route was found matching the URL and request method', 'code': 'woocommerce_api_no_route'

How Can I import products, the test connection was successful?

Regards,
--
MD. Tanzilul Hasan Khan.