Skip to content

Process Flow

Ajay Anand edited this page Feb 20, 2025 · 3 revisions

πŸ“¦ Complete Process Flow: Shopify + Odoo + QR Code Integration

🏬 Inventory Setup in Odoo

Before processing any orders, Odoo inventory must be set up:

  1. Product catalog synced (OdooService)
    • Shopify product listings are imported into Odoo.
  2. Stock levels updated (InventoryService)
    • Shopify and Odoo inventory levels are matched.
  3. Warehouses & locations configured
    • Storage locations are mapped for fulfillment.
  4. Pricing and tax rules applied
    • Pricing is aligned between Shopify and Odoo.
  5. Stock availability checked
    • The system verifies sufficient stock before allowing sales.

πŸ›’ Order Creation

  1. Shopify order received via API (ShopifyService)
    • Order details are fetched from Shopify.
  2. QR code generated with order details (QRCodeGenerator)
    • QR code is created containing order ID, customer details, and items.
  3. QR code printed for package (PrintService)
    • The generated QR code is printed as a label.
  4. Order synced to Odoo (OdooService)
    • The order details are sent to Odoo for processing.
  5. Inventory updated in Odoo
    • Stock levels are adjusted in Odoo based on ordered items.

πŸ“¦ Package Preparation

  1. Staff prepares items
    • The fulfillment team gathers the order items.
  2. QR code attached to package
    • The printed QR code is physically affixed to the package.
  3. Package marked ready (PackageService)
    • The package is marked as ready for dispatch in the system.
  4. Status updated in Odoo
    • Odoo order status is updated accordingly.

🚚 Dispatch Process

  1. Staff scans QR code (QRCodeScanner)
    • The QR code is scanned using a handheld scanner or mobile device.
  2. System validates order data (DispatchService)
    • Order details are verified for accuracy.
  3. Updates Odoo status
    • The order status is updated to "Dispatched" in Odoo.
  4. Records dispatch time
    • The system logs the timestamp of dispatch.
  5. Updates inventory
    • Odoo inventory is recalculated after dispatch.

πŸ” QR Code Management

  1. Processed QR codes moved to archive
    • Scanned QR codes are archived for record-keeping.
  2. Maintains audit trail
    • Logs are maintained for compliance and tracking.
  3. 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


Last Updated: {{timestamp}}

Clone this wiki locally