diff options
| author | Martin Trigaux <mat@odoo.com> | 2021-03-09 09:03:12 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2021-03-09 09:07:51 +0000 |
| commit | a2a45539ca4056eb3b3d5d6bafbfb63c10255843 (patch) | |
| tree | 53c5cabe4c7cc74f551a081ae3a8f77be2e9d3fa /addons | |
| parent | d39855bad5153654d443d1b7ede3907f8bae3e66 (diff) | |
[FIX] tools: properly format error message
To reproduce:
1. take a translatable record with an external id
2. delete the record but keep the ir.model.data (sql)
3. export the translations of the module linked to the orphan
ir.model.data
-> Error while formating the message
This commit fixes three issues:
- %d instead of %s to construct the string
- wrong order to identify the missing records
- display the external ids instead of the ids (which may not be very
helpful to debug)
Courtesy of Yannick Brant
closes odoo/odoo#67509
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions
