mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] hr_attendance_work_entry: potential JS registry conflict
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
odoo.define('hr_attendance_work_entry.kiosk_confirm', function (require) {
|
||||
"use strict";
|
||||
|
||||
var core = require('web.core');
|
||||
var KioskConfirm = require('hr_attendance.kiosk_confirm');
|
||||
var KioskConfirmTyped = KioskConfirm.extend({
|
||||
events: _.extend({}, KioskConfirm.prototype.events, {
|
||||
@@ -66,6 +65,5 @@ var KioskConfirmTyped = KioskConfirm.extend({
|
||||
},
|
||||
});
|
||||
|
||||
core.action_registry.add('hr_attendance_kiosk_confirm', KioskConfirmTyped);
|
||||
return KioskConfirmTyped;
|
||||
});
|
||||
@@ -1,7 +1,6 @@
|
||||
odoo.define('hr_attendance_work_entry.my_attendances', function (require) {
|
||||
"use strict";
|
||||
|
||||
var core = require('web.core');
|
||||
var MyAttendances = require('hr_attendance.my_attendances');
|
||||
|
||||
var MyTypedAttendances = MyAttendances.extend({
|
||||
@@ -43,8 +42,6 @@ var MyTypedAttendances = MyAttendances.extend({
|
||||
},
|
||||
});
|
||||
|
||||
core.action_registry.add('hr_attendance_my_attendances', MyTypedAttendances);
|
||||
|
||||
return MyTypedAttendances;
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user