[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73B2TQFRSBEHV91BSWZ57DN":3,"skill-same:01M73B2TQFRSBEHV91BSWZ57DN":46},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M73B2TQFRSBEHV91BSWZ57DN","odoo-edi-connector",null,"Guide for implementing EDI (Electronic Data Interchange) with Odoo: X12, EDIFACT document mapping, partner onboarding, and automated order processing.","kalash33\u002Fkstack","kalash33","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90259149?v=4","01M7365X8Q0B73NYHA730SMZWN","Kalash Poddar","01M7365X9D0JK47C3Q0YCCK9Z2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fodoo-edi-connector\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: odoo-edi-connector\ndescription: \"Guide for implementing EDI (Electronic Data Interchange) with Odoo: X12, EDIFACT document mapping, partner onboarding, and automated order processing.\"\n---\n\n# Odoo EDI Connector\n\n## Overview\n\nElectronic Data Interchange (EDI) is the standard for automated B2B document exchange — purchase orders, invoices, ASNs (Advance Shipping Notices). This skill guides you through mapping EDI transactions (ANSI X12 or EDIFACT) to Odoo business objects, setting up trading partner configurations, and automating inbound\u002Foutbound document flows.\n\n## When to Use This Skill\n\n- A retail partner requires EDI 850 (Purchase Orders) to do business with you.\n- You need to send EDI 856 (ASN) when goods are shipped.\n- Automating EDI 810 (Invoice) generation from Odoo confirmed deliveries.\n- Mapping EDI fields to Odoo fields for a new trading partner.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-edi-connector` and specify the EDI transaction set and trading partner.\n2. **Map**: Receive a complete field mapping table between EDI segments and Odoo fields.\n3. **Automate**: Get Python code to parse incoming EDI files and create Odoo records.\n\n## EDI ↔ Odoo Object Mapping\n\n| EDI Transaction | Odoo Object |\n|---|---|\n| 850 Purchase Order | `sale.order` (inbound customer PO) |\n| 855 PO Acknowledgment | Confirmation email \u002F SO confirmation |\n| 856 ASN (Advance Ship Notice) | `stock.picking` (delivery order) |\n| 810 Invoice | `account.move` (customer invoice) |\n| 846 Inventory Inquiry | `product.product` stock levels |\n| 997 Functional Acknowledgment | Automated receipt confirmation |\n\n## Examples\n\n### Example 1: Parse EDI 850 and Create Odoo Sale Order (Python)\n\n```python\nfrom pyx12 import x12file  # pip install pyx12\n\nimport xmlrpc.client\n\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 process_850(edi_file_path):\n    \"\"\"Parse X12 850 Purchase Order and create Odoo Sale Order\"\"\"\n    with x12file.X12File(edi_file_path) as f:\n        for transaction in f.get_transaction_sets():\n            # Extract header info (BEG segment)\n            po_number = transaction['BEG'][3]    # Purchase Order Number\n            po_date   = transaction['BEG'][5]    # Purchase Order Date\n\n            # Extract partner (N1 segment — Buyer)\n            partner_name = transaction['N1'][2]\n\n            # Find partner in Odoo\n            partner = models.execute_kw(db, uid, pwd, 'res.partner', 'search',\n                [[['name', 'ilike', partner_name]]])\n            partner_id = partner[0] if partner else False\n\n            # Extract line items (PO1 segments)\n            order_lines = []\n            for po1 in transaction.get_segments('PO1'):\n                sku     = po1[7]    # Product ID\n                qty     = float(po1[2])\n                price   = float(po1[4])\n\n                product = models.execute_kw(db, uid, pwd, 'product.product', 'search',\n                    [[['default_code', '=', sku]]])\n                if product:\n                    order_lines.append((0, 0, {\n                        'product_id': product[0],\n                        'product_uom_qty': qty,\n                        'price_unit': price,\n                    }))\n\n            # Create Sale Order\n            if partner_id and order_lines:\n                models.execute_kw(db, uid, pwd, 'sale.order', 'create', [{\n                    'partner_id': partner_id,\n                    'client_order_ref': po_number,\n                    'order_line': order_lines,\n                }])\n```\n\n### Example 2: Send EDI 997 Acknowledgment\n\n```python\ndef generate_997(isa_control, gs_control, transaction_control):\n    \"\"\"Generate a functional acknowledgment for received EDI\"\"\"\n    return f\"\"\"ISA*00*          *00*          *ZZ*YOURISAID      *ZZ*PARTNERISAID   *{today}*1200*^*00501*{isa_control}*0*P*>~\nGS*FA*YOURGID*PARTNERGID*{today}*1200*{gs_control}*X*005010X231A1~\nST*997*0001~\nAK1*PO*{gs_control}~\nAK9*A*1*1*1~\nSE*4*0001~\nGE*1*{gs_control}~\nIEA*1*{isa_control}~\"\"\"\n```\n\n## Best Practices\n\n- ✅ **Do:** Store every raw EDI transaction in an audit log table before processing.\n- ✅ **Do:** Always send a **997 Functional Acknowledgment** within 24 hours of receiving a transaction.\n- ✅ **Do:** Negotiate a test cycle with trading partners before going live — use test ISA qualifier `T`.\n- ❌ **Don't:** Process EDI files synchronously in web requests — queue them for async processing.\n- ❌ **Don't:** Hardcode trading partner qualifiers — store them in a configuration table per partner.\n","# Odoo EDI Connector\n\n## Overview\n\nElectronic Data Interchange (EDI) is the standard for automated B2B document exchange — purchase orders, invoices, ASNs (Advance Shipping Notices). This skill guides you through mapping EDI transactions (ANSI X12 or EDIFACT) to Odoo business objects, setting up trading partner configurations, and automating inbound\u002Foutbound document flows.\n\n## When to Use This Skill\n\n- A retail partner requires EDI 850 (Purchase Orders) to do business with you.\n- You need to send EDI 856 (ASN) when goods are shipped.\n- Automating EDI 810 (Invoice) generation from Odoo confirmed deliveries.\n- Mapping EDI fields to Odoo fields for a new trading partner.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-edi-connector` and specify the EDI transaction set and trading partner.\n2. **Map**: Receive a complete field mapping table between EDI segments and Odoo fields.\n3. **Automate**: Get Python code to parse incoming EDI files and create Odoo records.\n\n## EDI ↔ Odoo Object Mapping\n\n| EDI Transaction | Odoo Object |\n|---|---|\n| 850 Purchase Order | `sale.order` (inbound customer PO) |\n| 855 PO Acknowledgment | Confirmation email \u002F SO confirmation |\n| 856 ASN (Advance Ship Notice) | `stock.picking` (delivery order) |\n| 810 Invoice | `account.move` (customer invoice) |\n| 846 Inventory Inquiry | `product.product` stock levels |\n| 997 Functional Acknowledgment | Automated receipt confirmation |\n\n## Examples\n\n### Example 1: Parse EDI 850 and Create Odoo Sale Order (Python)\n\n```python\nfrom pyx12 import x12file  # pip install pyx12\n\nimport xmlrpc.client\n\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 process_850(edi_file_path):\n    \"\"\"Parse X12 850 Purchase Order and create Odoo Sale Order\"\"\"\n    with x12file.X12File(edi_file_path) as f:\n        for transaction in f.get_transaction_sets():\n            # Extract header info (BEG segment)\n            po_number = transaction['BEG'][3]    # Purchase Order Number\n            po_date   = transaction['BEG'][5]    # Purchase Order Date\n\n            # Extract partner (N1 segment — Buyer)\n            partner_name = transaction['N1'][2]\n\n            # Find partner in Odoo\n            partner = models.execute_kw(db, uid, pwd, 'res.partner', 'search',\n                [[['name', 'ilike', partner_name]]])\n            partner_id = partner[0] if partner else False\n\n            # Extract line items (PO1 segments)\n            order_lines = []\n            for po1 in transaction.get_segments('PO1'):\n                sku     = po1[7]    # Product ID\n                qty     = float(po1[2])\n                price   = float(po1[4])\n\n                product = models.execute_kw(db, uid, pwd, 'product.product', 'search',\n                    [[['default_code', '=', sku]]])\n                if product:\n                    order_lines.append((0, 0, {\n                        'product_id': product[0],\n                        'product_uom_qty': qty,\n                        'price_unit': price,\n                    }))\n\n            # Create Sale Order\n            if partner_id and order_lines:\n                models.execute_kw(db, uid, pwd, 'sale.order', 'create', [{\n                    'partner_id': partner_id,\n                    'client_order_ref': po_number,\n                    'order_line': order_lines,\n                }])\n```\n\n### Example 2: Send EDI 997 Acknowledgment\n\n```python\ndef generate_997(isa_control, gs_control, transaction_control):\n    \"\"\"Generate a functional acknowledgment for received EDI\"\"\"\n    return f\"\"\"ISA*00*          *00*          *ZZ*YOURISAID      *ZZ*PARTNERISAID   *{today}*1200*^*00501*{isa_control}*0*P*>~\nGS*FA*YOURGID*PARTNERGID*{today}*1200*{gs_control}*X*005010X231A1~\nST*997*0001~\nAK1*PO*{gs_control}~\nAK9*A*1*1*1~\nSE*4*0001~\nGE*1*{gs_control}~\nIEA*1*{isa_control}~\"\"\"\n```\n\n## Best Practices\n\n- ✅ **Do:** Store every raw EDI transaction in an audit log table before processing.\n- ✅ **Do:** Always send a **997 Functional Acknowledgment** within 24 hours of receiving a transaction.\n- ✅ **Do:** Negotiate a test cycle with trading partners before going live — use test ISA qualifier `T`.\n- ❌ **Don't:** Process EDI files synchronously in web requests — queue them for async processing.\n- ❌ **Don't:** Hardcode trading partner qualifiers — store them in a configuration table per partner.\n",{"name":5,"description":7},"main","b30820b3248f6676d5389f0ccabd4e5250c9c536","skills\u002Fodoo-edi-connector","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack","https:\u002F\u002Fgithub.com\u002Fkalash33","kalashpoddar.me","Tech-savvy Full Stack Developer 🚀 | Cybersecurity enthusiast 🔒 | Passionate about innovation and securing the digital world 🌐 | Let's code securely! 💻🔐","2026-05-20 04:11:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kalash33\u002Fkstack --skill odoo-edi-connector",{"tool":38,"command":39},"bunx","bunx skills add kalash33\u002Fkstack --skill odoo-edi-connector",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kalash33\u002Fkstack --skill odoo-edi-connector","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fodoo-edi-connector\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M73CFERCR43JCAP606E41EFB","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M73CFCMFVTAQEMTZ5HR10X8V","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M73CFAA7EBWXJVXDQ1X555MB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M73CF80XCM9K81567MJ8QZFW","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M73CF4YPMF3RA8ZJDXZSMD93","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M73CF2S25EN3XNAMKY47XHPS","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[]]