ingadhoc/miscellaneous#368
Created by fw-bot-adhoc
Merged
at 6496920b7ba762cd44a7e7bb652e50c6fe8fd90e
Statuses:
- ci/runbot-oba: Odoo by Adhoc with tests
- ci/runbot-modified-modules: (runtime 1s)
- mergebot/pre-commit
- label
- adhoc-dev:19.0-18.0-h-109374-rov-3758-fw
- head
- ad6582d5adaeee3d9ed85ca29c81be80b94af6b1
- merged
- hace 4 días by rov-adhoc
| 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).
Forward-Port-Of: #367