Search 1.9 billion lines of Odoo code on GitHub

web_calendar_slot_duration

Author: Tecnativa, Odoo Community Association (OCA)
License: LGPL-3
Branch: 15.0
Repository: AITIC/web
Dependencies: web
Languages: HTML (351, 79.8%), JavaScript (13, 3.0%), Python (19, 4.3%), and reStructuredText (57, 13.0%)
Other branches: 13.0, and 14.0
Other repositories: AntoniRomera/web, AyoubZahid/web, Change2improve/web, Darknroses/web, Digital5-Odoo/web, ERPLibre/web, ForgeFlow/web, GSLabIt/web, Gabinete-Digital/web, GlodoUK/oca-web, Ingeos/web, Jarsa/web, KKamaa/web, LevelPrime/web, Martronic-SA/web, OCA/web, SimoRubi/web, StefanRijnhart/web, Studio73/web, Tecnativa/web, VanMoof/web, Vauxoo/web, aaltinisik/web, acsone/web, agrista/odoo-web, akretion/web, anhvu-sg/web, antilhue/web, aurestic/web, bizzappdev/web, blooparksystems/web, bmya/web, brain-tec/web, brian10048/web, camptocamp/web, coopiteasy/web, dingguijin/web, dynapps/web, eLBati/web, ecosoft-odoo/web, factorlibre/web, focusate/web-oca, gastonfeng/web, gfcapalbo/web, gtorresemmanuel/web, hbrunn/web, i-vyshnevska/web, initOS/web, jeroen7s/web, kmee/web, kos94ok-3D/web, leanhtuan1996/web, legalsylvain/web, mharenz/web, modoolar/oca-web, mohamedhagag/web, multidadosti-erp/web, onurugur/web, petrus-v/web, praxigento/oca-web, sergiocorato/web, sewisoft/web, sodexis/web, steingabelgaard/web, sunflowerit/web, takinobori/oca-web, tarteo/web, tegin/web, tirma-sa/web, trevi-software/web, unitek-solusi/OCA-web, ursais/web, versada/web, vialaurea/OCA-web, wahello/oca-web, xcgd/web, and zarumaru/web

<h1 class="title">Calendar slot duration</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/15.0/web_calendar_slot_duration"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_calendar_slot_duration"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/162/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module extends the functionality of backend calendars to support custom slot durations and to allow you to provide more specific UX regarding event duration and snapping.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id3">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id5">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id6">Authors</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>This documentation is for developers.</p> <p>If you want to configure your calendar view's snap duration, make sure that you action includes a context similar to this (example is the default value):</p> <pre> <code>{&quot;calendar_slot_duration&quot;: &quot;00:30:00&quot;}</code> </pre> <p>It can be added in actions defined on python or as <code>ir.actions.act_window</code> records.</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>To use this module, you need to install some other addon that uses it, as it doesn't provide any end-user functionality.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h2> <ul class="simple"> <li>Drop module if/when <a class="reference external" href="https://github.com/odoo/odoo/pull/66739">https://github.com/odoo/odoo/pull/66739</a> is merged.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>. 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 <a class="reference external" href="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**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id5">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id6">Authors</a></h3> <ul class="simple"> <li>Tecnativa</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/Yajo"><img alt="Yajo" src="https://github.com/Yajo.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/15.0/web_calendar_slot_duration">OCA/web</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>