diff --git a/addons/web/static/src/legacy/legacy_fields.js b/addons/web/static/src/legacy/legacy_fields.js index 528886f383e..e67dfb2ff64 100644 --- a/addons/web/static/src/legacy/legacy_fields.js +++ b/addons/web/static/src/legacy/legacy_fields.js @@ -171,6 +171,13 @@ class FieldAdapter extends ComponentAdapter { } } else if (evType === "history_back") { return this.wowlEnv.config.historyBack(); + } else if (evType === "translate") { + const { fieldParams, record, update } = this.props; + return this.translationDialog({ + fieldName: fieldParams.name, + record, + updateField: update, + }); } super._trigger_up(...arguments); }