odoo-shopify-integration
Fungsinya
Tool ini menghubungkan toko online Anda (Shopify) dengan sistem manajemen Anda (Odoo). Tool ini secara otomatis menyinkronkan produk, stok, pesanan, dan pelanggan di antara kedua sistem tersebut.
Kapan dipakai
- βSaat Anda menjual produk di Shopify dan mengelola stok di Odoo.
- βUntuk otomatis membuat sales order di Odoo ketika pelanggan membeli di Shopify.
- βUntuk menjaga jumlah stok di Odoo tetap sesuai dengan yang tersedia di Shopify.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-shopify-integration/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βHubungkan toko Shopify saya dengan Odoo untuk menyinkronkan produk dan stok.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Anda menjelaskan bagaimana Anda ingin data mengalir antara Shopify dan Odoo. Tool ini membantu Anda menyiapkan koneksi dan memberikan contoh kode agar kedua sistem bisa saling berkomunikasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Odoo β Shopify Integration
Overview
This skill guides you through integrating Odoo with Shopify β syncing your product catalog, real-time inventory levels, incoming orders, and customer data. It covers both using the official Odoo Shopify connector (Enterprise) and building a custom integration via Shopify REST + Odoo XMLRPC APIs.
When to Use This Skill
- Selling on Shopify while managing inventory in Odoo.
- Automatically creating Odoo sales orders from Shopify purchases.
- Keeping Odoo stock levels in sync with Shopify product availability.
- Mapping Shopify product variants to Odoo product templates.
How It Works
- Activate: Mention
@odoo-shopify-integrationand describe your sync scenario. - Design: Receive the data flow architecture and field mapping.
- Build: Get code snippets for the Shopify webhook receiver and Odoo API caller.
Data Flow Architecture
SHOPIFY ODOO
-------- ----
Product Catalog <ββββββsyncββββββ Product Templates + Variants
Inventory Level <ββββββsyncββββββ Stock Quants (real-time)
New Order βββββββpushββββββ> Sale Order (auto-confirmed)
Customer βββββββpushββββββ> res.partner (created if new)
Fulfillment <ββββββpushββββββ Delivery Order validated
Examples
Example 1: Push an Odoo Sale Order for a Shopify Order (Python)
import xmlrpc.client, requests
# Odoo connection
odoo_url = "https://myodoo.example.com"
db, uid, pwd = "my_db", 2, "api_key"
models = xmlrpc.client.ServerProxy(f"{odoo_url}/xmlrpc/2/object")
def create_odoo_order_from_shopify(shopify_order):
# Find or create customer
partner = models.execute_kw(db, uid, pwd, 'res.partner', 'search_read',
[[['email', '=', shopify_order['customer']['email']]]],
{'fields': ['id'], 'limit': 1}
)
partner_id = partner[0]['id'] if partner else models.execute_kw(
db, uid, pwd, 'res.partner', 'create', [{
'name': shopify_order['customer']['first_name'] + ' ' + shopify_order['customer']['last_name'],
'email': shopify_order['customer']['email'],
}]
)
# Create Sale Order
order_id = models.execute_kw(db, uid, pwd, 'sale.order', 'create', [{
'partner_id': partner_id,
'client_order_ref': f"Shopify #{shopify_order['order_number']}",
'order_line': [(0, 0, {
'product_id': get_odoo_product_id(line['sku']),
'product_uom_qty': line['quantity'],
'price_unit': float(line['price']),
}) for line in shopify_order['line_items']],
}])
return order_id
def get_odoo_product_id(sku):
result = models.execute_kw(db, uid, pwd, 'product.product', 'search_read',
[[['default_code', '=', sku]]], {'fields': ['id'], 'limit': 1})
return result[0]['id'] if result else False
Example 2: Shopify Webhook for Real-Time Orders
from flask import Flask, request
app = Flask(__name__)
@app.route('/webhook/shopify/orders', methods=['POST'])
def shopify_order_webhook():
shopify_order = request.json
order_id = create_odoo_order_from_shopify(shopify_order)
return {"odoo_order_id": order_id}, 200
Best Practices
- β Do: Use Shopify's webhook system for real-time order sync instead of polling.
- β Do: Match products using SKU / Internal Reference as the unique key between both systems.
- β Do: Validate Shopify webhook HMAC signatures before processing any payload.
- β Don't: Sync inventory from both systems simultaneously without a "master system" β pick one as the source of truth.
- β Don't: Use Shopify product IDs as the key β use SKUs which are stable across platforms.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Pertanyaan umum
Apa arti 'sync'?
Sync (sinkronisasi) berarti menjaga agar informasi di dua sistem yang berbeda tetap sama. Misalnya, jika Anda menjual sebuah barang di Shopify, stok di Odoo akan diperbarui secara otomatis.
Apa itu 'webhook'?
Webhook seperti notifikasi otomatis. Ketika sesuatu terjadi di Shopify (misalnya pesanan baru), Shopify mengirimkan notifikasi ke Odoo.
Apa itu API?
API adalah seperangkat aturan yang memungkinkan dua program komputer saling berkomunikasi. Anggap saja seperti penerjemah yang membantu berbagai sistem bertukar informasi.
Detail
Deskripsi asli dari pembuat
Connect Odoo with Shopify: sync products, inventory, orders, and customers using the Shopify API and Odoo's external API or connector modules.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5353
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
api-connector-builder
280kMembuat agent Anda membangun koneksi API baru mengikuti pola yang sudah ada. Gunakan saat ingin menambah integrasi lagi tanpa membuat cara baru.
api-design
280kMembantu agent Anda merancang REST API sesuai praktik terbaik. Berguna untuk mengatur cara API berkomunikasi, menampilkan error, dan mengorganisasi data.
backend-patterns
280kMembantu agent Anda dengan pola arsitektur sisi server dan optimasi database. Berguna untuk membangun atau meninjau kode yang berjalan di server.