Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] web_calendar_slot_duration #2786

Merged
merged 17 commits into from
Apr 2, 2024

Conversation

CRogos
Copy link
Contributor

@CRogos CRogos commented Mar 28, 2024

No description provided.

Jairo Llopis and others added 16 commits March 28, 2024 13:26
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.

@Tecnativa TT28201

[UPD] Update web_calendar_slot_duration.pot

[UPD] README.rst
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/
When we specify the date in the calendar event we should not force the
duration.

TT45649
@CRogos CRogos mentioned this pull request Mar 28, 2024
26 tasks
@pedrobaeza
Copy link
Member

/ocabot migration web_calendar_slot_duration

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Mar 29, 2024
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

please review @CarlosRoca13

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add/modify as demo data in some place an action that serves for testing the effects?

@CRogos CRogos force-pushed the 17.0-mig-web_calendar_slot_duration branch from f20f108 to 081f25d Compare April 2, 2024 05:45
@CRogos
Copy link
Contributor Author

CRogos commented Apr 2, 2024

The module has currently only a dependency to "web". Therefore there is no calendar available where we could activate the feature.

I've added two screenshots. I hope it makes it more clear how to use and test this module.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tried on runboat, and we can put as demo data a different slot duration (for example, 10 minutes), for the scheduled actions calendar that is available in base:

    <record id="base.ir_cron_act" model="ir.actions.act_window">
        <field name="context">{'search_default_all': 1, "calendar_slot_duration": "00:10:00"}</field>
    </record>

web_calendar_slot_duration/readme/CONFIGURE.md Outdated Show resolved Hide resolved
@CRogos CRogos force-pushed the 17.0-mig-web_calendar_slot_duration branch from 081f25d to f3c3ef6 Compare April 2, 2024 07:14
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for forgetting to mention before, and thanks for your promptness.

web_calendar_slot_duration/readme/USAGE.md Show resolved Hide resolved
@CRogos CRogos force-pushed the 17.0-mig-web_calendar_slot_duration branch from f3c3ef6 to 5f813d7 Compare April 2, 2024 07:43
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-2786-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 53b4b86. Thanks a lot for contributing to OCA. ❤️

@OCA-git-bot OCA-git-bot closed this Apr 2, 2024
@OCA-git-bot OCA-git-bot merged commit 4d88324 into OCA:17.0 Apr 2, 2024
7 checks passed
@CRogos CRogos deleted the 17.0-mig-web_calendar_slot_duration branch April 2, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants