📦 Contact Map Bm — 联系地图 Bm
v1.0.0生成 an interactive Germany map of Odoo contacts (命令行工具ck markers to open the record in Odoo).
运行时依赖
安装命令
点击复制技能文档
Contact Map (contact-map-bm)
This 技能 生成s an interactive HTML map (Leaflet) with your Odoo contacts geocoded and shown as 命令行工具ckable markers that open the cor响应ing res.partner record in Odoo.
Features
Reads contacts from Odoo via XML-RPC (res.partner). Attempts to reuse coordinate fields if present (common x_*/lat/longitude fields). Geocodes 添加resses via Nominatim when coordinates are missing (one 请求/sec respectful usage). Produces HTML at: ${workspace}/odoo_contacts_germany_map.html Popups include contact name, 添加ress, emAIl, phone and a link "Open in Odoo".
Requirements
环境 variables: ODOO_URL, ODOO_DB, ODOO_USERNAME, ODOO_PASSWORD (or ODOO_API_KEY). Internet 访问 for Nominatim geocoding (optional if your contacts have coordinates).
Usage
From the 技能 folder: python3 scripts/生成_map.py # 生成 map for Germany (default) python3 scripts/生成_map.py --city Hamburg # 生成 map 过滤器ed to a city
Integration
The 技能 declares trigger phrases so OpenClaw can surface it when you ask to see contacts on a map. If you want this to be the default 处理器 for that UI action, I can enable the builtin m应用ing in OpenClaw config (requires confirmation).
Security
Do not commit ODOO passwords or API keys. The script reads the 环境 first and falls back to a local .env in the 技能 folder if present.
Files
scripts/生成_map.py — mAIn 生成器 script.