Git Product home page Git Product logo

connector-ecommerce's People

Contributors

atchuthan avatar bealdav avatar guewen avatar gurneyalex avatar hugosantosred avatar jaredkipe avatar jgrandguillaume avatar kikopeiro avatar lmignon avatar mathieuvatel avatar oca-git-bot avatar oca-transbot avatar oca-travis avatar parthiv avatar pedrobaeza avatar rdeheele avatar sbidoul avatar sebastienbeau avatar sergio-teruel avatar valentinvinagre avatar yvaucher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

connector-ecommerce's Issues

Change Licence to LGPL

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

[bug] Incorrect view file

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.






Sale Order Line on change not updating product name

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:

Module

connector-ecommerce

Describe the bug

Product name not updating via sale_order_onchange component

To Reproduce

14.0

Steps to reproduce the behavior:

  1. Import sale order through connector framework (I used Magento Connector customized)

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?

issue when I install connector-ecommerce on OpenERP v7

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!')

don't see Magento Connector in Modules

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

[8.0] Could not find the module sale_payment_method_automatic_workflow in the repo "e-commerce" (branch 8.0)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.