-
- Downloads
[IMP] website_profile, gamification, : add search bar in all users page
This commit adds the search bar in 'All users' page in order to filter on name or company name. To be able to keep the position, a non stored computed field has been added on res_users to get the position depending on the user's karma. The podium (top 3 users) is now displayed only if there is no search applied and if the page = 1 because it has no sens anymore in other cases. Special thanks to @jem-odoo who helped me finding smart solution for position computing. Task ID : 1943788 PR #31321
Showing
- addons/gamification/models/res_users.py 24 additions, 0 deletionsaddons/gamification/models/res_users.py
- addons/website_profile/controllers/main.py 18 additions, 19 deletionsaddons/website_profile/controllers/main.py
- addons/website_profile/static/src/scss/website_profile.scss 43 additions, 0 deletionsaddons/website_profile/static/src/scss/website_profile.scss
- addons/website_profile/views/website_profile.xml 34 additions, 0 deletionsaddons/website_profile/views/website_profile.xml
- addons/website_slides/controllers/main.py 9 additions, 9 deletionsaddons/website_slides/controllers/main.py
- addons/website_slides_survey/controllers/slides.py 2 additions, 2 deletionsaddons/website_slides_survey/controllers/slides.py
Loading
Please register or sign in to comment