diff --git a/addons/delivery/__manifest__.py b/addons/delivery/__manifest__.py index 684395775b2..22cb78e9af5 100644 --- a/addons/delivery/__manifest__.py +++ b/addons/delivery/__manifest__.py @@ -30,7 +30,6 @@ invoices from picking, the system is able to add and compute the shipping line. 'views/res_config_settings_views.xml', 'wizard/choose_delivery_package_views.xml', 'wizard/choose_delivery_carrier_views.xml', - 'views/assets.xml', ], 'demo': ['data/delivery_demo.xml'], 'installable': True, diff --git a/addons/delivery/static/src/js/delivery_translations.js b/addons/delivery/static/src/js/delivery_translations.js deleted file mode 100644 index 565adbcb69f..00000000000 --- a/addons/delivery/static/src/js/delivery_translations.js +++ /dev/null @@ -1,16 +0,0 @@ -// TODO Remove me >=saas-12.5, this is a disgrace -// This is an hack to get the string_* and hover_* options translated on the -// boolean_button terminology widget. The terms are translated through -// _t(opt_terms.string_true) which will only work if the terms are already -// present in the translation map. -// This code does nothing but marks the strings as translatable -var _t = function(x) { return x; }; - -_t("Production Environment"); -_t("Switch to test environment"); -_t("Test Environment"); -_t("Switch to production environment"); -_t("Debug requests"); -_t("Disable debug"); -_t("No debug"); -_t("Enable debug"); diff --git a/addons/delivery/views/assets.xml b/addons/delivery/views/assets.xml deleted file mode 100644 index 851aaca55c9..00000000000 --- a/addons/delivery/views/assets.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/addons/payment/static/src/js/payment_translations.js b/addons/payment/static/src/js/payment_translations.js deleted file mode 100644 index 199dcc2a276..00000000000 --- a/addons/payment/static/src/js/payment_translations.js +++ /dev/null @@ -1,10 +0,0 @@ -// TODO Remove me >=saas-12.5, this is a disgrace -// This is an hack to get the string_true and hover_false options translated on -// the boolean_button terminology widget. The terms are translated through -// _t(opt_terms.string_true) which will only work if the terms are already -// present in the translation map. -// This code does nothing but marks the strings as translatable -var _t = function(x) { return x; }; - -_t("Published"); -_t("Publish"); diff --git a/addons/payment/views/assets.xml b/addons/payment/views/assets.xml index 49cc88c5536..62fe9d2455f 100644 --- a/addons/payment/views/assets.xml +++ b/addons/payment/views/assets.xml @@ -13,11 +13,4 @@ - - -