Skip to content
Snippets Groups Projects
Commit 02be720c authored by Joseph Caburnay's avatar Joseph Caburnay
Browse files

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

parent b8822e81
No related branches found
No related tags found
No related merge requests found
......@@ -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),
});
......
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