Skip to content

Conversation

lase-odoo
Copy link
Contributor

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
Contributor Author

community PR: odoo/odoo#190867

@lase-odoo
Copy link
Contributor 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!

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.)?

@lase-odoo
Copy link
Contributor Author

lase-odoo commented Jan 10, 2025

@StraubCreative Thanks a lot for the review !

The change should be forwarded up to master (18.2).

Concerning the other PR's to wait for, I am not sure to understand the situation. The current PR is only linked to e8793e1 which is at least recongnised on the runbot side. To me they should be merged together.

@StraubCreative
Copy link
Contributor

The current PR is only linked to e8793e1 which is at least recongnised on the runbot side. To me they should be merged together.

Ok! Can merge when ready then 🤙

@robodoo delegate=lase-odoo

@lase-odoo
Copy link
Contributor Author

robodoo r+

robodoo pushed a commit to odoo/odoo that referenced this pull request Jan 14, 2025
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 tries
to clarify the situation.

opw-4323142

closes #190867

Related: odoo/documentation#11596
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
robodoo pushed a commit that referenced this pull request Jan 14, 2025
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

closes #11596

Related: odoo/odoo#190867
Signed-off-by: Lancelot Semal (lase) <lase@odoo.com>
@robodoo robodoo closed this Jan 14, 2025
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 15, 2025
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 tries
to clarify the situation.

opw-4323142

closes odoo#190867

Related: odoo/documentation#11596
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 20, 2025
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 tries
to clarify the situation.

opw-4323142

closes odoo#190867

Related: odoo/documentation#11596
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 27, 2025
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 tries
to clarify the situation.

opw-4323142

closes odoo#190867

Related: odoo/documentation#11596
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 27, 2025
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 tries
to clarify the situation.

opw-4323142

closes odoo#190867

Related: odoo/documentation#11596
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
adhoc-cicd-bot pushed a commit to adhoc-cicd/odoo-odoo that referenced this pull request Jan 28, 2025
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 tries
to clarify the situation.

opw-4323142

closes odoo#190867

Related: odoo/documentation#11596
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
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