summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/views/form_widgets.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views/form_widgets.js b/addons/web/static/src/js/views/form_widgets.js
index 0f89396eed2..ab0aa409a7a 100644
--- a/addons/web/static/src/js/views/form_widgets.js
+++ b/addons/web/static/src/js/views/form_widgets.js
@@ -665,6 +665,12 @@ var FieldBooleanButton = common.AbstractField.extend({
this.string_false = _t("Archived");
this.hover_false = _t("Unarchive");
break;
+ case "prod_environment":
+ this.string_true = _t("Production Environment");
+ this.hover_true = _t("Switch to test environment");
+ this.string_false = _t("Test Environment");
+ this.hover_false = _t("Switch to production environment");
+ break;
default:
this.string_true = _t("On");
this.hover_true = _t("Switch Off");