[FIX] hr_attendance: invert condition
bzr revid: chs@openerp.com-20121214155225-olze66svgx4hwqvg
This commit is contained in:
parent
539af8a8f0
commit
2c8f4f7572
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue