erplibre/contracts/compatibility.json
Mathieu Benoit b689c4ddf1 [ADD] contracts: add Odoo sync API contract and note mapping
Define the integration contract between erplibre_mobile and ERPLibre
platform: JSON-RPC 2.0 call specs, Note→project.task field mapping,
GeoMultiPoint format for geolocation entries, conflict resolution
strategy, re-auth flow, and version compatibility matrix.
Establishes the shared source of truth before implementation begins.

Generated by Claude Code 2.1.87 model claude-sonnet-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-05-19 15:17:45 -04:00

40 lines
1.4 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Version compatibility matrix — ERPLibre platform ↔ erplibre_mobile app",
"updated": "2026-03-29",
"matrix": [
{
"mobile": "2026.03.29.01",
"erplibre": "1.6.0",
"odoo": "18.0",
"sync_api_version": "1.0",
"modules_required": [
"project",
"project_todo",
"base_geoengine",
"erplibre_mobile_todo"
],
"breaking": false,
"notes": "Initial sync support — push/pull project.task (todos), media attachments, geolocation"
}
],
"modules": {
"project_todo": {
"description": "Odoo built-in To-Do — project.task with project_id=False",
"auto_installed": true,
"source": "odoo/addons/project_todo"
},
"base_geoengine": {
"description": "OCA geospatial fields — GeoMultiPoint for geolocation entries",
"source": "odoo18.0/addons/OCA_geospatial/base_geoengine",
"version": "18.0.1.2.0",
"python_deps": ["shapely", "geojson"]
},
"erplibre_mobile_todo": {
"description": "ERPLibre companion module — adds geo_task_point (GeoMultiPoint) to project.task",
"source": "odoo18.0/addons/ERPLibre_erplibre_addons/erplibre_mobile_todo",
"depends": ["project_todo", "base_geoengine"],
"custom_fields_on_project_task": ["geo_task_point"]
}
}
}