🚀 Odoo Import Tool - Web Interface
✅ Server is running on port 7777
Started at: 2025-12-26 08:07:09
📋 Available Models:
company
order
rawmaterial
📡 API Endpoints
GET /models
Description: List all available models
curl http://localhost:7777/models
GET /import/<model_type>/<record_id>
Description: Dry run - preview what would be imported
curl http://localhost:7777/import/company/200
curl http://localhost:7777/import/rawmaterial/3481
POST /import/<model_type>/<record_id>
Description: Actually import the record to Odoo
curl -X POST http://localhost:7777/import/company/200
curl -X POST http://localhost:7777/import/rawmaterial/3481
GET /test-email
Description: Test email configuration
curl http://localhost:7777/test-email
GET /health
Description: Health check endpoint
curl http://localhost:7777/health
🌐 Browser Examples
📝 Usage Notes
- GET requests perform dry runs (preview only)
- POST requests perform actual imports
- Add
?verbose=true to any endpoint for detailed error messages
- All responses are in JSON format