Incremental Sync & Auto-Cleanup
To maximize performance and prevent heavy database loads, the connector utilizes an Incremental Synchronization Engine.
How Incremental Sync Works
Each worksheet tab stores a document property tracking its last successful execution timestamp (LAST_SYNC).
When clicking Refresh Now or when a background schedule runs:
The connector sends the
LAST_SYNCtimestamp alongside the request.Odoo queries for records created or updated after that timestamp matching the domain rule.
Only modified or new records are returned over the network.
Existing rows in the sheet are updated in place, while new records are appended at the bottom.
Automatic Deletion Cleanup
If a record is deleted, unlinked, or archived inside Odoo so it no longer matches the domain filter:
The connector retrieves the active list of valid IDs from Odoo during sync.
It compares the
idcolumn values in the Google Sheet against Odoo’s active list.Any row in Google Sheets whose ID is no longer present in Odoo is automatically deleted from the worksheet tab.
Note
Manually added rows (rows with no ID) are preserved during incremental syncs and are never deleted.