summaryrefslogtreecommitdiff
path: root/addons/l10n_fr_pos_cert
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2020-06-02 09:45:05 +0000
committerJoseph Caburnay <jcb@odoo.com>2020-06-26 05:40:23 +0000
commit02be720c0dc88ba0c0cf348629e35bd1712de05a (patch)
tree618fcbab0d05f4f3d12816f59d83603c23b9e93b /addons/l10n_fr_pos_cert
parentb8822e81b7150a1116be08f2bdade1c7dc3c8488 (diff)
[FIX] l10n_fr_pos_cert: use Gui.showPopup instead of show_popup
Diffstat (limited to 'addons/l10n_fr_pos_cert')
-rw-r--r--addons/l10n_fr_pos_cert/static/src/js/pos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_fr_pos_cert/static/src/js/pos.js b/addons/l10n_fr_pos_cert/static/src/js/pos.js
index a02b50ea906..502e5f98cf4 100644
--- a/addons/l10n_fr_pos_cert/static/src/js/pos.js
+++ b/addons/l10n_fr_pos_cert/static/src/js/pos.js
@@ -16,7 +16,7 @@ models.PosModel = models.PosModel.extend({
is_french_country: function(){
var french_countries = ['FR', 'MF', 'MQ', 'NC', 'PF', 'RE', 'GF', 'GP', 'TF'];
if (!this.company.country) {
- this.gui.show_popup("error", {
+ Gui.showPopup("ErrorPopup", {
'title': _t("Missing Country"),
'body': _.str.sprintf(_t('The company %s doesn\'t have a country set.'), this.company.name),
});