Giter VIP home page Giter VIP logo

Comments (4)

StefanRijnhart avatar StefanRijnhart commented on June 23, 2024 1

As I mentioned on the other ticket, I will finish the port of Magento2 compatibility for the module on Odoo 12 in a couple of weeks, and I'd love it if you could do some testing then.

from connector-magento.

StefanRijnhart avatar StefanRijnhart commented on June 23, 2024

If you want, you can have a look at https://github.com/VanMoof/connector-magento/tree/add/12.0/magento2. It might still be a bit rough but I'd appreciate the feedback.

from connector-magento.

PhilippeBach avatar PhilippeBach commented on June 23, 2024

If you want, you can have a look at https://github.com/VanMoof/connector-magento/tree/add/12.0/magento2. It might still be a bit rough but I'd appreciate the feedback.

mostiy it work pretty god just hava a problem with url encoding when you have "/" slash in products sku the profided sku is not encoded it result and error 404

odoo.addons.queue_job.exception.FailedJobError: Max. retries (5) reached: A network error caused the failure of the job: 404 Client Error: Not Found for url: https://*******/index.php/rest/V1/products/SC6/8SPG
the sku is SC6/8SPG should be slash encoded

the other issue is to add pub to url because in standard magento 2.3 installation medias are located in pub folder
for entry in data.get('media_gallery_entries', []):
if entry['media_type'] == 'image':
entry['url'] = '%s/pub/media/catalog/product/%s' % (
self.backend_record.location, entry['file'])
res.append(entry)
return res

from connector-magento.

StefanRijnhart avatar StefanRijnhart commented on June 23, 2024

Thanks @PhilippeBach! As discussed in our private email conversation, I fixed these issues in my 12.0 branch for which there is now a PR: #304.

from connector-magento.

Related Issues (20)

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.