feat(integrations): add Odoo webhooks handler

Add webhook endpoints to receive events from Odoo (sale orders, stock
picking, invoices) and send WhatsApp notifications when orders are
confirmed, shipped, or payments are received.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude AI
2026-01-29 22:28:24 +00:00
parent 95cd70af1f
commit 619b291f49
3 changed files with 154 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from app.routers import odoo_router, sync_router
from app.routers import odoo_router, sync_router, webhooks_router
app = FastAPI(title="WhatsApp Central - Integrations Service")
@@ -14,6 +14,7 @@ app.add_middleware(
app.include_router(odoo_router)
app.include_router(sync_router)
app.include_router(webhooks_router)
@app.get("/health")