Process Flow - ajay3003/doc GitHub Wiki
📦 Complete Process Flow: Shopify + Odoo + QR Code Integration
🏬 Inventory Setup in Odoo
Before processing any orders, Odoo inventory must be set up:
- Product catalog synced (OdooService)
- Shopify product listings are imported into Odoo.
- Stock levels updated (InventoryService)
- Shopify and Odoo inventory levels are matched.
- Warehouses & locations configured
- Storage locations are mapped for fulfillment.
- Pricing and tax rules applied
- Pricing is aligned between Shopify and Odoo.
- Stock availability checked
- The system verifies sufficient stock before allowing sales.
🛒 Order Creation
- Shopify order received via API (ShopifyService)
- Order details are fetched from Shopify.
- QR code generated with order details (QRCodeGenerator)
- QR code is created containing order ID, customer details, and items.
- QR code printed for package (PrintService)
- The generated QR code is printed as a label.
- Order synced to Odoo (OdooService)
- The order details are sent to Odoo for processing.
- Inventory updated in Odoo
- Stock levels are adjusted in Odoo based on ordered items.
📦 Package Preparation
- Staff prepares items
- The fulfillment team gathers the order items.
- QR code attached to package
- The printed QR code is physically affixed to the package.
- Package marked ready (PackageService)
- The package is marked as ready for dispatch in the system.
- Status updated in Odoo
- Odoo order status is updated accordingly.
🚚 Dispatch Process
- Staff scans QR code (QRCodeScanner)
- The QR code is scanned using a handheld scanner or mobile device.
- System validates order data (DispatchService)
- Order details are verified for accuracy.
- Updates Odoo status
- The order status is updated to "Dispatched" in Odoo.
- Records dispatch time
- The system logs the timestamp of dispatch.
- Updates inventory
- Odoo inventory is recalculated after dispatch.
🔍 QR Code Management
- Processed QR codes moved to archive
- Scanned QR codes are archived for record-keeping.
- Maintains audit trail
- Logs are maintained for compliance and tracking.
- Enables order tracking
- Order history can be accessed for customer support and analytics.
🛠️ Technology Stack
- C# & .NET 8 – Backend development
- Shopify API – Fetch and manage orders
- Odoo API (XML-RPC/JSON-RPC) – Sync orders and inventory
- ZXing.Net (QR Code Processing) – Generate and scan QR codes
- System.Drawing.Common – Handle QR code images
🔗 Related Pages
- 🔄 Shopify Order Sync
- 🏬 Odoo Inventory Setup
- 📦 Odoo Order Management
- 📊 Inventory Updates
- 📜 QR Code Processing
Last Updated: {{timestamp}}