[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M716QN8ABR62EYTP1YGZXKD2":3,"skill-same:01M716QN8ABR62EYTP1YGZXKD2":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M716QN8ABR62EYTP1YGZXKD2","odoo-woocommerce-bridge",null,"Sync Odoo with WooCommerce: products, inventory, orders, and customers via WooCommerce REST API and Odoo external API.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fodoo-woocommerce-bridge\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"bridge","woocommerce","odoo","odoo woocommerce bridge","community","inventory","unknown","api","with","REST","external api","via","rest api","sync","orders","2026-11-10 10:12:30",false,"---\nname: odoo-woocommerce-bridge\ndescription: \"Sync Odoo with WooCommerce: products, inventory, orders, and customers via WooCommerce REST API and Odoo external API.\"\nrisk: unknown\nsource: community\n---\n\n# Odoo ↔ WooCommerce Bridge\n\n## Overview\n\nThis skill guides you through building a reliable sync bridge between Odoo (the back-office ERP) and WooCommerce (the WordPress online store). It covers product catalog sync, real-time inventory updates, order import, and customer record management.\n\n## When to Use This Skill\n\n- Running a WooCommerce store with Odoo for inventory and fulfillment.\n- Automatically pulling WooCommerce orders into Odoo as sale orders.\n- Keeping WooCommerce product stock in sync with Odoo's warehouse.\n- Mapping WooCommerce order statuses to Odoo delivery states.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-woocommerce-bridge` and describe your sync requirements.\n2. **Design**: Get the field mapping table between WooCommerce and Odoo objects.\n3. **Build**: Receive Python integration scripts using the WooCommerce REST API.\n\n## Field Mapping: WooCommerce → Odoo\n\n| WooCommerce | Odoo |\n|---|---|\n| `products` | `product.template` + `product.product` |\n| `orders` | `sale.order` + `sale.order.line` |\n| `customers` | `res.partner` |\n| `stock_quantity` | `stock.quant` |\n| `sku` | `product.product.default_code` |\n| `order status: processing` | Sale Order: `sale` (confirmed) |\n| `order status: completed` | Delivery: `done` |\n\n## Examples\n\n### Example 1: Pull WooCommerce Orders into Odoo (Python)\n\n```python\nfrom woocommerce import API\nimport xmlrpc.client\n\n# WooCommerce client\nwcapi = API(\n    url=\"https:\u002F\u002Fmystore.com\",\n    consumer_key=\"ck_xxxxxxxxxxxxx\",\n    consumer_secret=\"cs_xxxxxxxxxxxxx\",\n    version=\"wc\u002Fv3\"\n)\n\n# Odoo client\nodoo_url = \"https:\u002F\u002Fmyodoo.example.com\"\ndb, uid, pwd = \"my_db\", 2, \"api_key\"\nmodels = xmlrpc.client.ServerProxy(f\"{odoo_url}\u002Fxmlrpc\u002F2\u002Fobject\")\n\ndef sync_orders():\n    # Get unprocessed WooCommerce orders\n    orders = wcapi.get(\"orders\", params={\"status\": \"processing\", \"per_page\": 50}).json()\n\n    for wc_order in orders:\n        # Find or create Odoo partner\n        email = wc_order['billing']['email']\n        partner = models.execute_kw(db, uid, pwd, 'res.partner', 'search',\n            [[['email', '=', email]]])\n        if not partner:\n            partner_id = models.execute_kw(db, uid, pwd, 'res.partner', 'create', [{\n                'name': f\"{wc_order['billing']['first_name']} {wc_order['billing']['last_name']}\",\n                'email': email,\n                'phone': wc_order['billing']['phone'],\n                'street': wc_order['billing']['address_1'],\n                'city': wc_order['billing']['city'],\n            }])\n        else:\n            partner_id = partner[0]\n\n        # Create Sale Order in Odoo\n        order_lines = []\n        for item in wc_order['line_items']:\n            product = models.execute_kw(db, uid, pwd, 'product.product', 'search',\n                [[['default_code', '=', item['sku']]]])\n            if product:\n                order_lines.append((0, 0, {\n                    'product_id': product[0],\n                    'product_uom_qty': item['quantity'],\n                    'price_unit': float(item['price']),\n                }))\n\n        models.execute_kw(db, uid, pwd, 'sale.order', 'create', [{\n            'partner_id': partner_id,\n            'client_order_ref': f\"WC-{wc_order['number']}\",\n            'order_line': order_lines,\n        }])\n\n        # Mark WooCommerce order as on-hold (processed by Odoo)\n        wcapi.put(f\"orders\u002F{wc_order['id']}\", {\"status\": \"on-hold\"})\n```\n\n### Example 2: Push Odoo Stock to WooCommerce\n\n```python\ndef sync_inventory_to_woocommerce():\n    # Get all products with a SKU from Odoo\n    products = models.execute_kw(db, uid, pwd, 'product.product', 'search_read',\n        [[['default_code', '!=', False], ['type', '=', 'product']]],\n        {'fields': ['default_code', 'qty_available']}\n    )\n\n    for product in products:\n        sku = product['default_code']\n        qty = int(product['qty_available'])\n\n        # Update WooCommerce by SKU\n        wc_products = wcapi.get(\"products\", params={\"sku\": sku}).json()\n        if wc_products:\n            wcapi.put(f\"products\u002F{wc_products[0]['id']}\", {\n                \"stock_quantity\": qty,\n                \"manage_stock\": True,\n            })\n```\n\n## Best Practices\n\n- ✅ **Do:** Use **SKU** as the unique identifier linking WooCommerce products to Odoo products.\n- ✅ **Do:** Run inventory sync on a **schedule** (every 15-30 min) rather than real-time to avoid rate limits.\n- ✅ **Do:** Log all API calls and errors to a database table for debugging.\n- ❌ **Don't:** Process the same WooCommerce order twice — flag it as processed immediately after import.\n- ❌ **Don't:** Sync draft or cancelled WooCommerce orders to Odoo — filter by `status = processing` or `completed`.\n","# Odoo ↔ WooCommerce Bridge\n\n## Overview\n\nThis skill guides you through building a reliable sync bridge between Odoo (the back-office ERP) and WooCommerce (the WordPress online store). It covers product catalog sync, real-time inventory updates, order import, and customer record management.\n\n## When to Use This Skill\n\n- Running a WooCommerce store with Odoo for inventory and fulfillment.\n- Automatically pulling WooCommerce orders into Odoo as sale orders.\n- Keeping WooCommerce product stock in sync with Odoo's warehouse.\n- Mapping WooCommerce order statuses to Odoo delivery states.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-woocommerce-bridge` and describe your sync requirements.\n2. **Design**: Get the field mapping table between WooCommerce and Odoo objects.\n3. **Build**: Receive Python integration scripts using the WooCommerce REST API.\n\n## Field Mapping: WooCommerce → Odoo\n\n| WooCommerce | Odoo |\n|---|---|\n| `products` | `product.template` + `product.product` |\n| `orders` | `sale.order` + `sale.order.line` |\n| `customers` | `res.partner` |\n| `stock_quantity` | `stock.quant` |\n| `sku` | `product.product.default_code` |\n| `order status: processing` | Sale Order: `sale` (confirmed) |\n| `order status: completed` | Delivery: `done` |\n\n## Examples\n\n### Example 1: Pull WooCommerce Orders into Odoo (Python)\n\n```python\nfrom woocommerce import API\nimport xmlrpc.client\n\n# WooCommerce client\nwcapi = API(\n    url=\"https:\u002F\u002Fmystore.com\",\n    consumer_key=\"ck_xxxxxxxxxxxxx\",\n    consumer_secret=\"cs_xxxxxxxxxxxxx\",\n    version=\"wc\u002Fv3\"\n)\n\n# Odoo client\nodoo_url = \"https:\u002F\u002Fmyodoo.example.com\"\ndb, uid, pwd = \"my_db\", 2, \"api_key\"\nmodels = xmlrpc.client.ServerProxy(f\"{odoo_url}\u002Fxmlrpc\u002F2\u002Fobject\")\n\ndef sync_orders():\n    # Get unprocessed WooCommerce orders\n    orders = wcapi.get(\"orders\", params={\"status\": \"processing\", \"per_page\": 50}).json()\n\n    for wc_order in orders:\n        # Find or create Odoo partner\n        email = wc_order['billing']['email']\n        partner = models.execute_kw(db, uid, pwd, 'res.partner', 'search',\n            [[['email', '=', email]]])\n        if not partner:\n            partner_id = models.execute_kw(db, uid, pwd, 'res.partner', 'create', [{\n                'name': f\"{wc_order['billing']['first_name']} {wc_order['billing']['last_name']}\",\n                'email': email,\n                'phone': wc_order['billing']['phone'],\n                'street': wc_order['billing']['address_1'],\n                'city': wc_order['billing']['city'],\n            }])\n        else:\n            partner_id = partner[0]\n\n        # Create Sale Order in Odoo\n        order_lines = []\n        for item in wc_order['line_items']:\n            product = models.execute_kw(db, uid, pwd, 'product.product', 'search',\n                [[['default_code', '=', item['sku']]]])\n            if product:\n                order_lines.append((0, 0, {\n                    'product_id': product[0],\n                    'product_uom_qty': item['quantity'],\n                    'price_unit': float(item['price']),\n                }))\n\n        models.execute_kw(db, uid, pwd, 'sale.order', 'create', [{\n            'partner_id': partner_id,\n            'client_order_ref': f\"WC-{wc_order['number']}\",\n            'order_line': order_lines,\n        }])\n\n        # Mark WooCommerce order as on-hold (processed by Odoo)\n        wcapi.put(f\"orders\u002F{wc_order['id']}\", {\"status\": \"on-hold\"})\n```\n\n### Example 2: Push Odoo Stock to WooCommerce\n\n```python\ndef sync_inventory_to_woocommerce():\n    # Get all products with a SKU from Odoo\n    products = models.execute_kw(db, uid, pwd, 'product.product', 'search_read',\n        [[['default_code', '!=', False], ['type', '=', 'product']]],\n        {'fields': ['default_code', 'qty_available']}\n    )\n\n    for product in products:\n        sku = product['default_code']\n        qty = int(product['qty_available'])\n\n        # Update WooCommerce by SKU\n        wc_products = wcapi.get(\"products\", params={\"sku\": sku}).json()\n        if wc_products:\n            wcapi.put(f\"products\u002F{wc_products[0]['id']}\", {\n                \"stock_quantity\": qty,\n                \"manage_stock\": True,\n            })\n```\n\n## Best Practices\n\n- ✅ **Do:** Use **SKU** as the unique identifier linking WooCommerce products to Odoo products.\n- ✅ **Do:** Run inventory sync on a **schedule** (every 15-30 min) rather than real-time to avoid rate limits.\n- ✅ **Do:** Log all API calls and errors to a database table for debugging.\n- ❌ **Don't:** Process the same WooCommerce order twice — flag it as processed immediately after import.\n- ❌ **Don't:** Sync draft or cancelled WooCommerce orders to Odoo — filter by `status = processing` or `completed`.\n",{"name":5,"risk":25,"source":23,"description":7},"main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcursor\u002Fodoo-woocommerce-bridge","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill odoo-woocommerce-bridge",{"tool":51,"command":52},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill odoo-woocommerce-bridge",{"tool":54,"command":55},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill odoo-woocommerce-bridge","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fodoo-woocommerce-bridge\u002FSKILL.md",true,[],[60,83,108,118,131,150],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":71,"publishedAt":34},"01M71ATQRKG48SH06FQ697T5G9","wechat-search","Search WeChat Official Account articles using OpenClaw's web search and fetch capabilities with compliance-focused design.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fwechat-search-release\u002FSKILL.md",[66],{"categoryNo":67,"categoryName":68,"taxonomyType":69,"taxonomyTypeDesc":70},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[72,73,74,75,76,77,78,79,80,81,82,27],"wechat search","wechat","search","capabilities","openclaw","design","web search","compliance","web","official","fetch",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":34},"01M71ATNAVGZB35PFYM2GC5N00","trend-tap","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend tap', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-tap\u002FSKILL.md",[],[90,91,92,93,94,95,74,96,97,98,99,100,101,102,103,104,105,106,107,26],"trend","trend tap","tap","api keys","Bash","time","trending","hacker","aggregator","do","when","brew","live","data","google","install","read","across",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":34},"01M71ATJ9AM5KM15AA8PS302EB","trend-radar","Real-time trending topics aggregator across 7 platforms (X\u002FTwitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend pulse', '热点', '热搜', or asks what is trending\u002Fhot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftrend-radar\u002FSKILL.md",[],[115,116,90,101,102,103,104,94,74,106,117,107,26,100,98,97,96,105,95,93],"trend radar","radar","pulse",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":34},"01M71ATGF095N3EJM9G8SD0BB5","tech-news-daily","每日科技新闻汇——从全球多个 RSS 源抓取最新科技新闻，翻译（英→中）、去重、排版成每日简报。当用户询问科技新闻、科技新鲜事、每日科技、技术动态、Daily Tech News 或类似表达时触发此技能。","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Ftech-news-daily\u002FSKILL.md",[],[125,126,127,128,129,130],"news","tech","tech news daily","daily","rss","翻译",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":142,"publishedAt":34},"01M71ATFAEAMQ17M70NQNY7SR8","summarize","Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsummarize\u002FSKILL.md",[137],{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",[133,80,143,144,145,27,101,146,147,148,92,149,105],"Audio","cli","youtube","images","https","files","pdfs",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":34},"01M71ATDNS3R0M4H936PACQAWZ","sonoscli","Control Sonos speakers (discover\u002Fstatus\u002Fplay\u002Fvolume\u002Fgroup).","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fopenclaw\u002Fsonoscli\u002FSKILL.md",[],[152,157,158,159,105,160,147,161,162,163,164,165],"status","play","go","latest","github","discover","control","cmd","volume"]