[FIX] pos_hr: make employee selection work again

this is undefined, use self.

Oversight of 5f3b5f0a9d.

closes odoo/odoo#32860

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Joren Van Onder
2019-04-22 23:57:55 +00:00
parent 75f16ee07f
commit f18e4fc0ea
+1 -1
View File
@@ -28,7 +28,7 @@ gui.Gui.include({
});
var prom = new Promise(function (resolve, reject) {
this.show_popup('selection', {
self.show_popup('selection', {
title: options.title || _t('Select User'),
list: list,
confirm: resolve,