Giter Club home page Giter Club logo

import_woocommerce_data_into_odoo's Introduction

import_woocommerce_data_into_odoo

Import Woocommerce exported data into Odoo using xmlrpc API

How to use?

First you need to export the data from Woocommerce using this repository.

Create a file named odoo_api.ini in your user's home directory with your Odoo instance connection information and the path to wordpress's uploads folder like below:

[database]
db = db_name
username = username
password = password
url = https://website.com

[general]
uploads_path = /home/user/wordpress_backup/uploads/

You can import the following data directly in Odoo panel using the Odoo's default import records option:

  • Users (res.users)
  • Brands (wk.product.brand) # If you are using this addon
  • Attributes (product.attribute)
  • Attribute values (product.attribute.value)

But for other data run each python script to import the related data. You should run the scripts in the following order:

  • import_categories.py
  • import_products.py
  • import_variant_products.py
  • update_attribute_lines.py
  • update_variant_external_ids.py
  • update_attribute_prices.py
  • update_variant_imgs.py
  • update_quantities.py
  • update_old_urls.py (Optional: Only to have the woocommerce url of product in case needed. You need to create the field on product.template)

Read in more details in this article.

import_woocommerce_data_into_odoo's People

Contributors

mehrdadbahri avatar

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.