[MIG] web_calendar_slot_duration: Migration to 15.0

pull/2786/head
Christopher Rogos 2022-07-13 21:32:10 +02:00 committed by Christopher Rogos
parent 5ee8df82d9
commit 08ee2fef7e
5 changed files with 11 additions and 24 deletions

View File

@ -14,13 +14,13 @@ Calendar slot duration
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3 :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/14.0/web_calendar_slot_duration :target: https://github.com/OCA/web/tree/15.0/web_calendar_slot_duration
:alt: OCA/web :alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_calendar_slot_duration :target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_calendar_slot_duration
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/162/14.0 :target: https://runbot.odoo-community.org/runbot/162/15.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@ -64,7 +64,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_. Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported. In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_calendar_slot_duration%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. `feedback <https://github.com/OCA/web/issues/new?body=module:%20web_calendar_slot_duration%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues. Do not contact contributors directly about support or help with technical issues.
@ -97,6 +97,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-Yajo| |maintainer-Yajo|
This module is part of the `OCA/web <https://github.com/OCA/web/tree/14.0/web_calendar_slot_duration>`_ project on GitHub. This module is part of the `OCA/web <https://github.com/OCA/web/tree/15.0/web_calendar_slot_duration>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -3,7 +3,7 @@
{ {
"name": "Calendar slot duration", "name": "Calendar slot duration",
"summary": "Customizable calendar slot durations", "summary": "Customizable calendar slot durations",
"version": "14.0.1.0.0", "version": "15.0.1.0.0",
"development_status": "Production/Stable", "development_status": "Production/Stable",
"category": "Extra Tools", "category": "Extra Tools",
"website": "https://github.com/OCA/web", "website": "https://github.com/OCA/web",
@ -12,6 +12,10 @@
"license": "LGPL-3", "license": "LGPL-3",
"application": False, "application": False,
"installable": True, "installable": True,
"assets": {
"web.assets_backend": [
"web_calendar_slot_duration/static/src/js/calendar_model.esm.js"
]
},
"depends": ["web"], "depends": ["web"],
"data": ["templates/assets.xml"],
} }

View File

@ -3,7 +3,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 14.0\n" "Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"

View File

@ -2,8 +2,6 @@
* License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). */ * 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"); var CalendarModel = require("web.CalendarModel");
CalendarModel.include({ CalendarModel.include({

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Tecnativa - Jairo Llopis
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -->
<data>
<template id="assets_backend" inherit_id="web.assets_backend">
<xpath expr=".">
<script
type="text/javascript"
src="/web_calendar_slot_duration/static/src/js/calendar_model.js"
/>
</xpath>
</template>
</data>