[FIX] l10n_fr_pos_cert: use Gui.showPopup instead of show_popup

This commit is contained in:
Joseph Caburnay
2020-06-26 05:40:23 +00:00
parent b8822e81b7
commit 02be720c0d
+1 -1
View File
@@ -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),
});