Skip to content
Snippets Groups Projects
Commit 258efff7 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[REV] delivery,payment: revert 98a92dc1


The widget no longer exists, we can clean this

closes odoo/odoo#35496

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent e0afb293
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
// 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");
<?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>
// 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");
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment