[FIX] docuseal_signing: keep partner field mappings on fields fetch

``action_fetch_fields`` wiped the whole ``field_ids`` mapping on every
fetch, dropping the res.partner fields configured by the administrator.
Reconcile instead: keep existing mappings untouched, add fields new to
the Docuseal template and drop the ones removed from it.

Covered by unit tests running against a mocked Docuseal API.

Assisted-By: GLM-5.3-Flash
This commit is contained in:
2026-11-03 16:32:54 +01:00
parent 424ce6beee
commit b3d0f4b0d3
3 changed files with 106 additions and 7 deletions

View File

@@ -0,0 +1 @@
from . import test_fetch_fields