oca / connector-ecommerce Goto Github PK
View Code? Open in Web Editor NEWGeneric module used on Odoo for E-Commerce industry
License: GNU Affero General Public License v3.0
Generic module used on Odoo for E-Commerce industry
License: GNU Affero General Public License v3.0
Hi @pedrobaeza
We would like to contribute to and build on a base ecommerce connector that would allow to use different implementations and different shops at the same time.
Because some details of specific implementations might be very shop-specific and not of public use, we don't think AGPL-3 would be a suitable licence.
If you could change the licence, we will consider building and contributing a shopware connector in V12 & V13
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-12.0
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
There is an API call issue in the migration script to version 14.
connector_ecormmerce
Missing 'env' variable in openupgrade method call.
Migrate module from previous version to 14.0
Expected behavior
The migration should pass without API call errors
Hi,
Just installed Odoo 9.0, and followed the steps on http://odoo-magento-connector.com/guides/installation_guide.html#installation
But after editing the openerp-server.conf and add the
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons,/usr/lib/python2.7/dist-packages/openerp/addons/ocr/connector,/usr/lib/python2.7/dist-packages/openerp/addons/ocr/connector-ecommerce,/usr/lib/python2.7/dist-packages/openerp/addons/ocr/connector-magento,/usr/lib/python2.7/dist-packages/openerp/addons/ocr/e-commerce,/usr/lib/python2.7/dist-packages/openerp/addons/ocr/product-attribute,/usr/lib/python2.7/dist-packages/openerp/addons/ocr/sale-workflow
then reboot and search for any magento connector, nothing will apear
what am i missing in this, to install the magento connector
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
I was investigating why the product name was not updated after the onchange event on sale order line product_id field.
The onchange was triggered but I found following problem that I cannot explain:
connector-ecommerce
Product name not updating via sale_order_onchange component
14.0
Steps to reproduce the behavior:
Expected behavior
Product name in the sale order line updating
Problem found here
def get_new_values(self, record, on_change_result, model=None):
vals = on_change_result.get("value", {})
new_values = {}
for fieldname, value in vals.items():
if fieldname not in record:
if model:
column = self.env[model]._fields[fieldname]
if column.type == "many2one":
value = value[0] # many2one are tuple (id, name)
new_values[fieldname] = value
return new_values
file components/sale_order_onchange.py line 17:
if fieldname not in record
This prevents the update, because the name field is in the record.
Can it be the "not" is wrong here? Why is it there actually?
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/openerp/htdocs/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
return super(view, self).create(cr, uid, values, context)
File "/opt/openerp/submodules/connector/connector/producer.py", line 44, in create
record_id = create_original(self, cr, uid, vals, context=context)
File "/opt/openerp/htdocs/openerp/osv/orm.py", line 4596, in create
self._validate(cr, user, [id_new], context)
File "/opt/openerp/htdocs/openerp/osv/orm.py", line 1577, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_osv: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
When trying to install the module "connector_ecommerce", i got the error below
except_orm: (u'Error', u"You try to install module 'connector_ecommerce' that depends on module 'sale_payment_method_automatic_workflow'.\nBut the latter module is not available in your system.")
I tried to take a look at the list of modules in the repository "OCA / e-commerce" and i could not find that module in the branch 8.0, that module is exist in the branch 9.0. Which is weird, because the "pull request" contain that module was for the branch 8.0.
Have a nice day
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-13.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0
Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-11.0
https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0
I followed the instructions here to install the magento connector, and it seems to be an issue in this module that is preventing installation.
http://odoo-magento-connector.com/guides/installation_guide.html
I will submit pull request when I resolve.
2015-08-19 16:15:58,707 9671 INFO test8 openerp.modules.loading: loading connector_ecommerce/payment_method_view.xml
2015-08-19 16:15:58,737 9671 ERROR test8 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 574, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 307, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 803, in call
return self.method(_args, *_kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 403, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 446, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 494, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 255, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 176, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 901, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 987, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 853, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 755, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 832, in id_get
res = self.model_id_get(cr, id_str, raise_if_not_found)
File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 843, in model_id_get
raise_if_not_found=raise_if_not_found)
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 936, in xmlid_to_res_model_res_id
return self.xmlid_lookup(cr, uid, xmlid)[1:3]
File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "", line 2, in xmlid_lookup
File "/opt/odoo/odoo-server/openerp/tools/cache.py", line 74, in lookup
value = d[key] = self.method(_args, *_kwargs)
File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 926, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % (xmlid))
ParseError: "External ID not found in the system: sale_payment_method_automatic_workflow.payment_method_view_form" while parsing /home/oca/connector-ecommerce/connector_ecommerce/payment_method_view.xml:12, near
payment.method.connector_ecommerce.form
payment.method
The sales orders using the payment method will never be imported.
The sales orders using the payment method will always be imported.
The sales orders using the payment method will be imported
only when they receive a payment on the E-Commerce backend.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.