-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
[13.0][MIG] event_session #210
Merged
Merged
Commits on Apr 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6268e3e - Browse repository at this point
Copy the full SHA 6268e3eView commit details -
[IMP] event_session: Several improvements:
* Rename 'date' to 'date_begin' for being homogeneous with event fields * Split tests * Remove 'start_time' and 'end_time' as no needed * Convert hours to UTC for avoiding timezone issues
Configuration menu - View commit details
-
Copy full SHA for d9ffbd5 - Browse repository at this point
Copy the full SHA d9ffbd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47d172d - Browse repository at this point
Copy the full SHA 47d172dView commit details -
[IMP][FIX] event_session: several improvements
- Fix tz in calculated name - Fix tests - Add event sessions count to reports - Fixes computing update of stored value - Fixes views and reports - Fixes generator not creating last day sessions - Totalizations in session tree view - Security config - Adds es_ES translations - Fixes seats limits on sessions
Configuration menu - View commit details
-
Copy full SHA for d7889c7 - Browse repository at this point
Copy the full SHA d7889c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f97511 - Browse repository at this point
Copy the full SHA 3f97511View commit details -
[FIX][IMP] event_session: Several improvements:
- Fix report query - Adds progress bar to sessions tree view - Improves tests - Fixes seats limit check
Configuration menu - View commit details
-
Copy full SHA for 64ab153 - Browse repository at this point
Copy the full SHA 64ab153View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba213c - Browse repository at this point
Copy the full SHA 6ba213cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03ccfc4 - Browse repository at this point
Copy the full SHA 03ccfc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0865fe - Browse repository at this point
Copy the full SHA c0865feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b16866 - Browse repository at this point
Copy the full SHA 9b16866View commit details -
Configuration menu - View commit details
-
Copy full SHA for c110dd9 - Browse repository at this point
Copy the full SHA c110dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae2f331 - Browse repository at this point
Copy the full SHA ae2f331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 523b39d - Browse repository at this point
Copy the full SHA 523b39dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c28f04 - Browse repository at this point
Copy the full SHA 1c28f04View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2cd00e - Browse repository at this point
Copy the full SHA a2cd00eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed81fc9 - Browse repository at this point
Copy the full SHA ed81fc9View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-12.0/event-12.0-event_session Translate-URL: https://translation.odoo-community.org/projects/event-12-0/event-12-0-event_session/
Configuration menu - View commit details
-
Copy full SHA for 1a682e1 - Browse repository at this point
Copy the full SHA 1a682e1View commit details -
[MOD] 12.0 Replace code using system lang by babel dates translations
The big issue with this kind of code is that if you have a user with a certain locale being used, it will override the locale system wide and the next request on the server may have the dates formatted with strftime in a different language than expected... The other issue is that some systems do not provide a set of actual locales so on a server running in docker without manually modifying a dockerfile to install a set of locales, it may fail to switch the locale to a non existing one. It will just fail to compute the field. Babel is already a dependency of odoo and it's a bit strange to not use it. Get the locale the same way ir.qweb.fields do This commit use the same method as ir.qweb.fields to get the locale to use to translate a date. The previous code didn't took into account a case where the lang is undefined and this case also use the same default language as defined in odoo en_US. As a result, the behaviour of event_session is more in line with the current behaviour in odoo which is to default to en_US if locale is undefined. With the global locale setting, the default locale would be the system one so it may give different result or strange behaviours or simply prevent correctly working without manual intervention on the host.. While babel is already supported and used by odoo. Modified the test to actually test correctly the date formatted As the default lang is en_US the format of a date is the following: - month/day/year And time format is on 12 hours so not 22:00 to 23:00 but 10:00 PM to 11:00 PM With those changes, setting the locale to en_UK,en_CA will render the correct date using - day/month/year and hours on 24h. Added tests to confirm the translations work correctly on some locales Check case when locale=None should default to en_US Check that lang change is correctly taken into account. Check that it works with languages returning unicode text (Russian)
Configuration menu - View commit details
-
Copy full SHA for 8a25aec - Browse repository at this point
Copy the full SHA 8a25aecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81d210b - Browse repository at this point
Copy the full SHA 81d210bView commit details -
Configuration menu - View commit details
-
Copy full SHA for af5435f - Browse repository at this point
Copy the full SHA af5435fView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-12.0/event-12.0-event_session Translate-URL: https://translation.odoo-community.org/projects/event-12-0/event-12-0-event_session/
Configuration menu - View commit details
-
Copy full SHA for e1bc573 - Browse repository at this point
Copy the full SHA e1bc573View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: event-12.0/event-12.0-event_session Translate-URL: https://translation.odoo-community.org/projects/event-12-0/event-12-0-event_session/
Configuration menu - View commit details
-
Copy full SHA for 9d42e24 - Browse repository at this point
Copy the full SHA 9d42e24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f8f65c - Browse repository at this point
Copy the full SHA 3f8f65cView commit details
Commits on Apr 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 73b42c9 - Browse repository at this point
Copy the full SHA 73b42c9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.