Skip to content

Conversation

@mymage
Copy link
Member

@mymage mymage commented Oct 12, 2025

As in #1486
Changes the source of language list moving it from the res.lang.csv file to res.lang model.
In this way if you add a language at runtime it will be immediately available.

Added _compute_display_name (ex name_get) to show language name instead language code on selection or m2o widget

@mymage mymage force-pushed the 17.0-mod-hr_employee_language branch 30 times, most recently from 8d117f0 to ebd28df Compare October 14, 2025 12:42
@mymage mymage force-pushed the 17.0-mod-hr_employee_language branch 3 times, most recently from 5fc3644 to aa1c618 Compare October 14, 2025 12:59
@mymage mymage force-pushed the 17.0-mod-hr_employee_language branch from aa1c618 to 68b0fa1 Compare October 14, 2025 13:02
@mymage mymage marked this pull request as ready for review October 14, 2025 13:05
@mymage
Copy link
Member Author

mymage commented Oct 14, 2025

@dreispt @primes2h @TheMule71 plase review.
I'm quite sure that the _compute_display_name can be better.
I inserted the "self_data = self if self else all_lang" because on tests the for "record in self" doesn't activate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant