diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-09-02 15:24:06 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2019-09-02 15:24:11 +0000 |
| commit | 6d98f838571964835e77208cacfc628786cb0113 (patch) | |
| tree | db5c3885d344b3ba5fdca12370bd88032918792d /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 5a1fb85ef681d1197f22b7c1e2ed8a9fc2898cac (diff) | |
[FIX] core: fix translation of selection fields with dashes
When a selection field has a dash the parsing was failing only returning the
begining of this selection, leading to a mismatch fot the ir_model_fields_selection.
This was discovered because "iot.trigger" add multiple selection fields element with name
only differing by the post dash part:
print
print-op
print-slip
This was leading to a failure of the ON CONFLICT DO UPDATE (ir_translation line 120)
since multiple EXCLUDED where similar in mrp_workorder_iot/i18n/fr.po(same res_id).
closes odoo/odoo#36347
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
