[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user