summaryrefslogtreecommitdiff
path: root/addons/hr_holidays
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2021-03-09 09:03:12 +0000
committerMartin Trigaux <mat@odoo.com>2021-03-09 09:07:51 +0000
commita2a45539ca4056eb3b3d5d6bafbfb63c10255843 (patch)
tree53c5cabe4c7cc74f551a081ae3a8f77be2e9d3fa /addons/hr_holidays
parentd39855bad5153654d443d1b7ede3907f8bae3e66 (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/hr_holidays')
0 files changed, 0 insertions, 0 deletions