[FIX] hr_attendance: invert condition

bzr revid: chs@openerp.com-20121214155225-olze66svgx4hwqvg
This commit is contained in:
Christophe Simonis 2012-12-14 16:52:25 +01:00
parent 539af8a8f0
commit 2c8f4f7572
1 changed files with 1 additions and 1 deletions

View File

@ -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