The author can leave a single reply to each comment.
This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
I had a lot of trouble to get this working.
So I will describe my solution first, then I will say something about the connector itself.
I use docker images. So you can have a look at this file:
https://github.com/jtb0/myOdooV8/blob/master/Dockerfile
Or if you use a regular installation you need to install the following things at yout odoo instance:
$ apt-get -y install -f --no-install-recommends python-pip
and then
$ pip install woocommerce
Now you have the woocommerce module installed which was missing in the post of Razaq Adams.
then you can download and unzip the connector:
$ wget https://apps.odoo.com/loempia/download/connector_woocommerce/8.0.1.0.1/5X67fKLxEBADalRAktjsZw.zip?deps
the "...?deps" here is extremely important. Without all the dependencies will not be downloaded.
$ sudo unzip 5X67fKLxEBADalRAktjsZw.zip?deps -d addons/
Maybe you need to use instead of "addons/" another path. Maybe here: /usr/lib/python2.7/dist-packages/openerp/addons/
Thats all.
Now you can "Update module list" under Settings (dont forget you need to switch the Technical Featues on via users otherwise you dont see this entry) and then install the WooCommerce Connector.
I created a repository which allows me to setup odoo v8 and a woocommerce easily.
Maybe someone want to use it.
https://github.com/jtb0/docki.git
So the good thing is that the plugin is working.
What is missing, is a bidirectional way to sync back the stock amount.
Can't make this work at all
by
hence321
on 4/20/16, 5:38 PM
Windows 7 32 bits environment
Odoo V8
Setup dependencies and module:
In Command line: pip install woocommerce
Copying dependencies folders from repository (Connector, sales_payment_method_automatic_work etc) to addon then restarting server, updating module list and installing in orders..
When putting the connector_woocommerce folder in addons folder, restarting server, then the odoo backend is crippled, can't do anything anymore unless I delete the folder from addons
Its a promising product.. I will retract the poor rating once this is setupable.
i don't understand this module, import of categories is fine but sales orders and product failed.
by
charlesbellbell
on 2/1/18, 9:20 AM
Traceback (most recent call last):
File "F:\odoo-8.0\openerp\addons\connector\queue\worker.py", line 125, in run_job
job.perform(session)
File "F:\odoo-8.0\openerp\addons\connector\queue\job.py", line 512, in perform
self.result = self.func(session, *self.args, **self.kwargs)
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 284, in import_record
importer.run(woo_id, force=force)
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 203, in run
self._import_dependencies()
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\model\sale.py", line 247, in _import_dependencies
'woo.product.product')
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 110, in _import_dependency
importer.run(woo_id)
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 189, in run
self.woo_record = self._get_woo_data()
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 48, in _get_woo_data
return self.backend_adapter.read(self.woo_id)
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\backend_adapter.py", line 209, in read
return self._call('%s/' % self._woo_model + str(id), [])
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\model\product.py", line 84, in _call
return super(ProductProductAdapter, self)._call(method, arguments)
File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\backend_adapter.py", line 152, in _call
result = safe_eval(result)
File "F:\odoo-8.0\openerp\tools\safe_eval.py", line 296, in safe_eval
c = test_expr(expr, _SAFE_OPCODES, mode=mode)
File "F:\odoo-8.0\openerp\tools\safe_eval.py", line 153, in test_expr
code_obj = compile(expr, "", mode)
File "", line 1
^
SyntaxError: invalid syntax
Any idea how do you import more than 10 products...
by
Petri Kajander
on 2/13/17, 6:17 AM
I just cannot import more than 10 products and this is kinda annoying.
Well, from problem to another.
by
Petri Kajander
on 6/4/16, 8:04 AM
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 540, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 577, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 313, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in checked_call
return self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 806, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 406, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 399, in old_api
result = method(recs, *args, **kwargs)
File "/var/lib/odoo/.local/share/Odoo/addons/8.0/woocommerceerpconnect/model/backend.py", line 105, in test_connection
val = r.json()
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 741, in json
return json.loads(self.text, **kwargs)
File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 488, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 389, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
by
hence321
on 4/20/16, 6:41 PM
Anybody made this work on Windows 7 ?
That happens to me too
by
Ignacio
on 3/31/16, 5:33 AM
Hi Razaq Adams. You solution the problem? Could you tell me the solution? please.
Thank You
Error updating module list
by
Razaq Adams
on 2/8/16, 11:58 PM
Odoo
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 567, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/openerp/http.py", line 300, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/openerp/http.py", line 796, in __call__
return self.method(*args, **kw)
File "/opt/odoo/openerp/http.py", line 396, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/addons/web/controllers/main.py", line 953, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 393, in old_api
result = new_api(recs, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 397, in new_api
result = [method(rec, *args, **kwargs) for rec in self]
File "/opt/odoo/openerp/addons/base/module/wizard/base_module_update.py", line 15, in update_module
self.updated, self.added = self.env['ir.module.module'].update_list()
File "/opt/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 462, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/opt/odoo/openerp/addons/base/module/module.py", line 654, in update_list
handler.load_addons()
File "/opt/odoo/openerp/http.py", line 1298, in load_addons
m = __import__('openerp.addons.' + module)
File "/opt/odoo/openerp/modules/module.py", line 80, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/odoo/addons/connector_woocommerce/__init__.py", line 22, in
from . import model
File "/opt/odoo/addons/connector_woocommerce/model/__init__.py", line 22, in
from . import backend
File "/opt/odoo/addons/connector_woocommerce/model/backend.py", line 23, in
from woocommerce import API
ImportError: No module named woocommerce
Please log in to comment on this module
Not bidirectional, but import is working
I had a lot of trouble to get this working. So I will describe my solution first, then I will say something about the connector itself. I use docker images. So you can have a look at this file: https://github.com/jtb0/myOdooV8/blob/master/Dockerfile Or if you use a regular installation you need to install the following things at yout odoo instance: $ apt-get -y install -f --no-install-recommends python-pip and then $ pip install woocommerce Now you have the woocommerce module installed which was missing in the post of Razaq Adams. then you can download and unzip the connector: $ wget https://apps.odoo.com/loempia/download/connector_woocommerce/8.0.1.0.1/5X67fKLxEBADalRAktjsZw.zip?deps the "...?deps" here is extremely important. Without all the dependencies will not be downloaded. $ sudo unzip 5X67fKLxEBADalRAktjsZw.zip?deps -d addons/ Maybe you need to use instead of "addons/" another path. Maybe here: /usr/lib/python2.7/dist-packages/openerp/addons/ Thats all. Now you can "Update module list" under Settings (dont forget you need to switch the Technical Featues on via users otherwise you dont see this entry) and then install the WooCommerce Connector. I created a repository which allows me to setup odoo v8 and a woocommerce easily. Maybe someone want to use it. https://github.com/jtb0/docki.git So the good thing is that the plugin is working. What is missing, is a bidirectional way to sync back the stock amount.
Can't make this work at all
Windows 7 32 bits environment Odoo V8 Setup dependencies and module: In Command line: pip install woocommerce Copying dependencies folders from repository (Connector, sales_payment_method_automatic_work etc) to addon then restarting server, updating module list and installing in orders.. When putting the connector_woocommerce folder in addons folder, restarting server, then the odoo backend is crippled, can't do anything anymore unless I delete the folder from addons Its a promising product.. I will retract the poor rating once this is setupable.
i don't understand this module, import of categories is fine but sales orders and product failed.
Traceback (most recent call last): File "F:\odoo-8.0\openerp\addons\connector\queue\worker.py", line 125, in run_job job.perform(session) File "F:\odoo-8.0\openerp\addons\connector\queue\job.py", line 512, in perform self.result = self.func(session, *self.args, **self.kwargs) File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 284, in import_record importer.run(woo_id, force=force) File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 203, in run self._import_dependencies() File "F:\odoo-8.0\openerp\addons\connector_woocommerce\model\sale.py", line 247, in _import_dependencies 'woo.product.product') File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 110, in _import_dependency importer.run(woo_id) File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 189, in run self.woo_record = self._get_woo_data() File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\import_synchronizer.py", line 48, in _get_woo_data return self.backend_adapter.read(self.woo_id) File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\backend_adapter.py", line 209, in read return self._call('%s/' % self._woo_model + str(id), []) File "F:\odoo-8.0\openerp\addons\connector_woocommerce\model\product.py", line 84, in _call return super(ProductProductAdapter, self)._call(method, arguments) File "F:\odoo-8.0\openerp\addons\connector_woocommerce\unit\backend_adapter.py", line 152, in _call result = safe_eval(result) File "F:\odoo-8.0\openerp\tools\safe_eval.py", line 296, in safe_eval c = test_expr(expr, _SAFE_OPCODES, mode=mode) File "F:\odoo-8.0\openerp\tools\safe_eval.py", line 153, in test_expr code_obj = compile(expr, "", mode) File "", line 1
^ SyntaxError: invalid syntax
Any idea how do you import more than 10 products...
I just cannot import more than 10 products and this is kinda annoying.
Well, from problem to another.
Odoo Server Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 540, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 577, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 313, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 806, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 406, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 399, in old_api result = method(recs, *args, **kwargs) File "/var/lib/odoo/.local/share/Odoo/addons/8.0/woocommerceerpconnect/model/backend.py", line 105, in test_connection val = r.json() File "/usr/lib/python2.7/dist-packages/requests/models.py", line 741, in json return json.loads(self.text, **kwargs) File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 488, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 389, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Anybody made this work on Windows 7 ?
That happens to me too
Hi Razaq Adams. You solution the problem? Could you tell me the solution? please. Thank You
Error updating module list
Odoo Odoo Server Error Traceback (most recent call last): File "/opt/odoo/openerp/http.py", line 530, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/openerp/http.py", line 567, in dispatch result = self._call_function(**self.params) File "/opt/odoo/openerp/http.py", line 303, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/openerp/http.py", line 300, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo/openerp/http.py", line 796, in __call__ return self.method(*args, **kw) File "/opt/odoo/openerp/http.py", line 396, in response_wrap response = f(*args, **kw) File "/opt/odoo/addons/web/controllers/main.py", line 953, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo/addons/web/controllers/main.py", line 941, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/openerp/api.py", line 393, in old_api result = new_api(recs, *args, **kwargs) File "/opt/odoo/openerp/api.py", line 397, in new_api result = [method(rec, *args, **kwargs) for rec in self] File "/opt/odoo/openerp/addons/base/module/wizard/base_module_update.py", line 15, in update_module self.updated, self.added = self.env['ir.module.module'].update_list() File "/opt/odoo/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/opt/odoo/openerp/api.py", line 462, in new_api result = method(self._model, cr, uid, *args, **kwargs) File "/opt/odoo/openerp/addons/base/module/module.py", line 654, in update_list handler.load_addons() File "/opt/odoo/openerp/http.py", line 1298, in load_addons m = __import__('openerp.addons.' + module) File "/opt/odoo/openerp/modules/module.py", line 80, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/opt/odoo/addons/connector_woocommerce/__init__.py", line 22, in from . import model File "/opt/odoo/addons/connector_woocommerce/model/__init__.py", line 22, in from . import backend File "/opt/odoo/addons/connector_woocommerce/model/backend.py", line 23, in from woocommerce import API ImportError: No module named woocommerce