Getting woocommerce_api_no_route for the jobs when trying to import data from woocommerce
This is the traceback for products (Clicking on Import on Background), it's quite similar for the others:
File "/odoo/repos/connector/connector/queue/worker.py", line 125, in run_job
job.perform(session)
File "/odoo/repos/connector/connector/queue/job.py", line 512, in perform
self.result = self.func(session, *self.args, **self.kwargs)
File "/odoo/repos/connector-woocommerce/connector_woocommerce/unit/import_synchronizer.py", line 284, in import_record
importer.run(woo_id, force=force)
File "/odoo/repos/connector-woocommerce/connector_woocommerce/unit/import_synchronizer.py", line 203, in run
self._import_dependencies()
File "/odoo/repos/connector-woocommerce/connector_woocommerce/model/product.py", line 162, in _import_dependencies
record = record['product']
KeyError: 'product'
This is what the log (debug level) shows just before the ERROR:
2016-11-28 08:37:15,242 7619 INFO database_name requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): local.wordpress.dev
2016-11-28 08:37:15,529 7619 DEBUG database_name openerp.addons.connector_woocommerce.unit.backend_adapter: api.call(products/details/errors, []) returned {'errors': [{'message': 'No route was found matching the URL and request method', 'code': 'woocommerce_api_no_route'}]} in 0 seconds
Getting woocommerce_api_no_route for the jobs when trying to import data from woocommerce
This is the traceback for products (Clicking on Import on Background), it's quite similar for the others:
This is what the log (debug level) shows just before the ERROR: