mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_calendar_slot_duration: migration to 13.0
Most normal migration ever. @Tecnativa TT30987 [UPD] Update web_calendar_slot_duration.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-13.0/web-13.0-web_calendar_slot_duration Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_calendar_slot_duration/
This commit is contained in:
committed by
Christopher Rogos
parent
5dd18d60af
commit
eb87847569
@@ -1,7 +1,7 @@
|
||||
/* Copyright 2021 Tecnativa - Jairo Llopis
|
||||
* License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). */
|
||||
|
||||
odoo.define("web_calendar_slot_duration.CalendarModel", function (require) {
|
||||
odoo.define("web_calendar_slot_duration.CalendarModel", function(require) {
|
||||
"use strict";
|
||||
|
||||
var CalendarModel = require("web.CalendarModel");
|
||||
@@ -10,7 +10,7 @@ odoo.define("web_calendar_slot_duration.CalendarModel", function (require) {
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
_getFullCalendarOptions: function () {
|
||||
_getFullCalendarOptions: function() {
|
||||
var result = this._super.call(this, arguments);
|
||||
result.slotDuration =
|
||||
this.data.context.calendar_slot_duration ||
|
||||
|
||||
Reference in New Issue
Block a user