|
@@ -104,7 +104,8 @@
|
|
|
|
|
|
if (obj.printers) {
|
|
if (obj.printers) {
|
|
this.sendToServer('/print_engine/update', e.data).then(function () {
|
|
this.sendToServer('/print_engine/update', e.data).then(function () {
|
|
- instance.client.action_manager.inner_widget.views['form'].controller.reload()
|
|
|
|
|
|
+ instance.client.action_manager.inner_widget.views['form'].controller.reload();
|
|
|
|
+ instance.web.notification.do_notify('Información', 'Impresoras actualizadas con éxito');
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -217,7 +218,7 @@
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- openerp.web.notification.do_warn('Atención', 'pong')
|
|
|
|
|
|
+ instance.web.notification.do_notify('Información', 'Pong')
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|