ingadhoc/miscellaneous#367
Created by rov-adhoc
Merged
at 6b4b4eaaade7af3a13838878461a30d63aa66cb8
Statuses:
- ci/runbot-oba: Odoo by Adhoc with tests
- ci/runbot-modified-modules: (runtime 1s)
- mergebot/pre-commit
- label
- adhoc-dev:18.0-h-109374-rov
- head
- bcc7f07a84a4a5af2eebcbc52b6a348055be5093
- merged
- hace 4 días by Franco Leyes
| ingadhoc/miscellaneous | |
|---|---|
| 18.0 | #367 |
| 19.0 | #368 |
[FIX] export_bg: Handle import_compat parameter correctly in background export
When import_compat=False, avoid using field 'value' for data extraction to prevent issues when the exported data is used for record updates.
- In import_compat mode: use name -> value -> id fallback chain
- In regular export mode: use only name -> id (skip 'value')
- Field labels (headers) are handled appropriately for each mode
This ensures exported data maintains proper field references based on the intended use case (import vs display/update).