[FIX] hr_attendance: invert condition
bzr revid: chs@openerp.com-20121214155225-olze66svgx4hwqvg
This commit is contained in:
@@ -76,7 +76,7 @@ openerp.hr_attendance = function (instance) {
|
||||
this._super();
|
||||
var self = this;
|
||||
this.update_promise.done(function () {
|
||||
if (_.isUndefined(self.attendanceslider)) {
|
||||
if (!_.isUndefined(self.attendanceslider)) {
|
||||
return;
|
||||
}
|
||||
// check current user is an employee
|
||||
|
||||
Reference in New Issue
Block a user