From f3f4f15daae40a8ade02d4c376ffb89a0f7c6221 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 4 Nov 2024 10:27:58 +0000 Subject: [PATCH] [BOT] post-merge updates --- README.md | 2 +- web_calendar_slot_duration/README.rst | 8 ++++---- web_calendar_slot_duration/__manifest__.py | 2 +- .../static/description/index.html | 19 +++++++++++-------- 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e13ef3d6d90f..e628a0e779d6 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ addon | version | maintainers | summary [web_action_conditionable](web_action_conditionable/) | 16.0.1.0.0 | | web_action_conditionable [web_advanced_search](web_advanced_search/) | 16.0.1.0.5 | [![ivantodorovich](https://github.com/ivantodorovich.png?size=30px)](https://github.com/ivantodorovich) | Easier and more powerful searching tools [web_apply_field_style](web_apply_field_style/) | 16.0.1.0.1 | | Apply css class style to fields from a dict parameters -[web_calendar_slot_duration](web_calendar_slot_duration/) | 16.0.1.0.1 | [![Yajo](https://github.com/Yajo.png?size=30px)](https://github.com/Yajo) | Customizable calendar slot durations +[web_calendar_slot_duration](web_calendar_slot_duration/) | 16.0.1.1.0 | [![Yajo](https://github.com/Yajo.png?size=30px)](https://github.com/Yajo) | Customizable calendar slot durations [web_chatter_position](web_chatter_position/) | 16.0.1.0.2 | | Add an option to change the chatter position [web_company_color](web_company_color/) | 16.0.1.2.3 | | Web Company Color [web_copy_confirm](web_copy_confirm/) | 16.0.1.0.0 | | Show confirmation dialogue before copying records diff --git a/web_calendar_slot_duration/README.rst b/web_calendar_slot_duration/README.rst index 8584ab033661..3619975f7e6e 100644 --- a/web_calendar_slot_duration/README.rst +++ b/web_calendar_slot_duration/README.rst @@ -7,7 +7,7 @@ Calendar slot duration !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:1274b3dddbcd34bf1401a1f208b67af94f47a47121fa32b120acbc37c84a63be + !! source digest: sha256:3a39a33ad7a9a5a3673b1461fb0f8651e690a8437512f2a9c58b6614319fe3af !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png @@ -49,10 +49,10 @@ action includes a context similar to this (example is the default value):: In addition, you can also configure the calendar view's default mode by adding:: -{"calendar_slot_duration": "00:30:00", "adapt_view_to_slot_duration": False} + {"calendar_slot_duration": "00:30:00", "keep_default_view_slot_duration": True} -The ``adapt_view_to_slot_duration`` key is optional and defaults to ``True``. -When set to ``False``, the calendar view will not adapt its view to the slot size. +The ``keep_default_view_slot_duration`` key is optional and defaults to ``False``. +When set to ``True``, the calendar view will not adapt its view to the slot size. For example, if you want to set the default slot duration to 1 hour and 30 minutes, by default the calendar view will adapt its view to show slots of 1 hour and 30 minutes. diff --git a/web_calendar_slot_duration/__manifest__.py b/web_calendar_slot_duration/__manifest__.py index dabd14f98753..ec43d98fac3e 100644 --- a/web_calendar_slot_duration/__manifest__.py +++ b/web_calendar_slot_duration/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Calendar slot duration", "summary": "Customizable calendar slot durations", - "version": "16.0.1.0.1", + "version": "16.0.1.1.0", "development_status": "Production/Stable", "category": "Extra Tools", "website": "https://github.com/OCA/web", diff --git a/web_calendar_slot_duration/static/description/index.html b/web_calendar_slot_duration/static/description/index.html index 6a9ab5de6c96..d6072c9625dc 100644 --- a/web_calendar_slot_duration/static/description/index.html +++ b/web_calendar_slot_duration/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -366,7 +367,7 @@

Calendar slot duration

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:1274b3dddbcd34bf1401a1f208b67af94f47a47121fa32b120acbc37c84a63be +!! source digest: sha256:3a39a33ad7a9a5a3673b1461fb0f8651e690a8437512f2a9c58b6614319fe3af !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: LGPL-3 OCA/web Translate me on Weblate Try me on Runboat

This module extends the functionality of backend calendars to support custom @@ -397,10 +398,10 @@

Configuration

In addition, you can also configure the calendar view’s default mode by adding:

-{"calendar_slot_duration": "00:30:00", "adapt_view_to_slot_duration": False}
+{"calendar_slot_duration": "00:30:00", "keep_default_view_slot_duration": True}
 
-

The adapt_view_to_slot_duration key is optional and defaults to True. -When set to False, the calendar view will not adapt its view to the slot size.

+

The keep_default_view_slot_duration key is optional and defaults to False. +When set to True, the calendar view will not adapt its view to the slot size.

For example, if you want to set the default slot duration to 1 hour and 30 minutes, by default the calendar view will adapt its view to show slots of 1 hour and 30 minutes. Sometimes this is not desired, for example when you want to show every time slots by hour.

@@ -447,7 +448,9 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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.