[REV] delivery,payment: revert 98a92dc1aa

The widget no longer exists, we can clean this

closes odoo/odoo#35496

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux
2019-08-06 13:01:53 +00:00
parent e0afb293ba
commit 258efff7e5
5 changed files with 0 additions and 44 deletions
-1
View File
@@ -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,
@@ -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");
-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assets_backend" name="delivery_assets_backend" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/delivery/static/src/js/delivery_translations.js"></script>
</xpath>
</template>
</odoo>
@@ -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");
-7
View File
@@ -13,11 +13,4 @@
<script type="text/javascript" src="/payment/static/src/js/payment_processing.js"></script>
</xpath>
</template>
<template id="assets_backend" name="payment_assets_backend" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/payment/static/src/js/payment_translations.js"></script>
</xpath>
</template>
</odoo>