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

[IMP] marketing: match the Display Timezone description with tooltips #11596

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

lase-odoo
Copy link

Issue:

The current descriptions and naming of the Date fields (date_begin, date_end) and the Timezone field (date_tz) can be confusing in the form view of the event model. Specifically:

The timezone used for converting the form dates to the database is determined by the context and not by the Timezone field present on the form. However, this Timezone field determines the timezone used for displaying the event's date/time on the website. This change clarifies the situation according to the update done in the community PR

opw-4323142

@robodoo
Copy link
Collaborator

robodoo commented Dec 17, 2024

Pull request status dashboard

@lase-odoo
Copy link
Author

community PR: odoo/odoo#190867

@lase-odoo
Copy link
Author

Followup of the discussion of the first proposition: odoo/odoo#189363

@C3POdoo C3POdoo requested a review from a team December 18, 2024 12:00
Copy link

@reth-odoo reth-odoo left a comment

Choose a reason for hiding this comment

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

Sounds right to my ears (eyes?)

(maybe missing .pot update, as you mentionned)

Copy link
Contributor

@StraubCreative StraubCreative left a comment

Choose a reason for hiding this comment

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

Hi @lase-odoo

Thank you for these updates. I see these are proactive edits in line with a UI change we're looking to make on /odoo.

I have two small markup improvements which I'll push up in just a moment!

@@ -43,8 +43,8 @@ Odoo database or by creating and editing new field data. Key information to ente
includes:

- :guilabel:`Event Name`: give the event a title.
- :guilabel:`Date`: includes the start and end dates/times for the event.
- :guilabel:`Timezone`: covers the timezone for when the event is taking place.
- :guilabel:`Date`: when the event is scheduled to take place (expressed in your local timezone on the form view).
Copy link
Contributor

Choose a reason for hiding this comment

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

Line exceeds 100 characters

Suggested change
- :guilabel:`Date`: when the event is scheduled to take place (expressed in your local timezone on the form view).
- :guilabel:`Date`: when the event is scheduled to take place (expressed in your local timezone on
the form view).

- :guilabel:`Date`: includes the start and end dates/times for the event.
- :guilabel:`Timezone`: covers the timezone for when the event is taking place.
- :guilabel:`Date`: when the event is scheduled to take place (expressed in your local timezone on the form view).
- :guilabel:`Display Timezone`: indicates the timezone in which the event dates/times will be displayed on the website..
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar feedback above (character count), remove extra period.

Suggested change
- :guilabel:`Display Timezone`: indicates the timezone in which the event dates/times will be displayed on the website..
- :guilabel:`Display Timezone`: indicates the timezone in which the event dates/times will be
displayed on the website.

Issue:

The current descriptions and naming of the `Date` fields (`date_begin`,
`date_end`) and the `Timezone` field (`date_tz`) can be confusing in the
form view of the event model. Specifically:

The timezone used for converting the form dates to the database is
determined by the context and not by the `Timezone` field present on the
form. However, this `Timezone` field determines the timezone used
for displaying the event's date/time on the website. This change
clarifies the situation according to the update done in the community PR

opw-4323142
@StraubCreative StraubCreative force-pushed the 16.0-opw-4323142-display_timezone_event_form-lase branch from 35b049f to e8793e1 Compare January 9, 2025 19:07
@StraubCreative
Copy link
Contributor

RST updates applied on e8793e1.

@lase-odoo do we want to merge this in right away or wait for other PRs to close first (they don't appear to be linked)?
When we merge, should these revisions be forward-ported? If so, how far (i.e. 16.4, 17.2, master, etc.)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants