feat(flow-engine): add Odoo node executors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude AI
2026-01-29 22:28:26 +00:00
parent 619b291f49
commit d1d1aa58e1
4 changed files with 301 additions and 0 deletions

View File

@@ -16,6 +16,16 @@ from app.nodes.validation import (
)
from app.nodes.script import JavaScriptExecutor, HttpRequestExecutor
from app.nodes.ai import AIResponseExecutor, AISentimentExecutor
from app.nodes.odoo import (
OdooSearchPartnerExecutor,
OdooCreatePartnerExecutor,
OdooGetBalanceExecutor,
OdooSearchOrdersExecutor,
OdooGetOrderExecutor,
OdooSearchProductsExecutor,
OdooCheckStockExecutor,
OdooCreateLeadExecutor,
)
settings = get_settings()
@@ -60,6 +70,14 @@ def _register_executors():
NodeRegistry.register("http_request", HttpRequestExecutor())
NodeRegistry.register("ai_response", AIResponseExecutor())
NodeRegistry.register("ai_sentiment", AISentimentExecutor())
NodeRegistry.register("odoo_search_partner", OdooSearchPartnerExecutor())
NodeRegistry.register("odoo_create_partner", OdooCreatePartnerExecutor())
NodeRegistry.register("odoo_get_balance", OdooGetBalanceExecutor())
NodeRegistry.register("odoo_search_orders", OdooSearchOrdersExecutor())
NodeRegistry.register("odoo_get_order", OdooGetOrderExecutor())
NodeRegistry.register("odoo_search_products", OdooSearchProductsExecutor())
NodeRegistry.register("odoo_check_stock", OdooCheckStockExecutor())
NodeRegistry.register("odoo_create_lead", OdooCreateLeadExecutor())
_register_executors()