-
- Downloads
[IMP] website_slides: Improve methods to get user certificates
This commit improves a few methods related to the user profiles:
- Change _prepare_all_users_values so that it
works with a batch of users
- Change the _get_user_certificates and rename it to _get_users_certificates
so that it works with a batch of users to avoid doing a search in a
list comprehension.
This method will also be used to get the number of certificates per users
TaskID: 1952064
PR: #32229
Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
Showing
- addons/website_profile/controllers/main.py 15 additions, 12 deletionsaddons/website_profile/controllers/main.py
- addons/website_slides_survey/controllers/slides.py 19 additions, 10 deletionsaddons/website_slides_survey/controllers/slides.py
- addons/website_slides_survey/views/website_profile.xml 2 additions, 2 deletionsaddons/website_slides_survey/views/website_profile.xml
Please register or sign in to comment