Skip to content

[15.0][FIX] fieldservice_route: Ensure FSMRouteDay selection values are properly translated #1364

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

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

Conversation

ppyczko
Copy link

@ppyczko ppyczko commented Mar 31, 2025

This PR fixes the translation of day names in FSMRouteDay. In some scenarios, these records were always displayed in raw English values (e.g., "Thursday") even though another language and the corresponding translations were set. Now, they properly show translations based on the user’s language if translations are present.

Before:
image

After:
imagen

cc https://github.com/APSL 7063

@miquelalzanillas @lbarry-apsl @mpascuall @peluko00 @javierobcn @BernatObrador please review

@OCA-git-bot
Copy link
Contributor

Hi @max3903,
some modules you are maintaining are being modified, check this out!

@ppyczko ppyczko force-pushed the 15.0-fix-fieldservice_route-fsm-route-days-translations branch from aa80032 to 640dcd4 Compare March 31, 2025 13:16
@ppyczko ppyczko changed the title [FIX] fieldservice_route: Ensure FSMRouteDay selection values are properly translated [15.0][FIX] fieldservice_route: Ensure FSMRouteDay selection values are properly translated Mar 31, 2025
@ppyczko ppyczko force-pushed the 15.0-fix-fieldservice_route-fsm-route-days-translations branch 3 times, most recently from 6cf1bce to d399a3e Compare April 1, 2025 05:14
@ppyczko ppyczko marked this pull request as ready for review April 1, 2025 05:20
@ppyczko ppyczko force-pushed the 15.0-fix-fieldservice_route-fsm-route-days-translations branch from d399a3e to e0358cb Compare April 1, 2025 05:27
Copy link
Contributor

@peluko00 peluko00 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@BernatObrador BernatObrador left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@mpascuall mpascuall left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

5 participants