TIP: You can type at any time to perform a new search.
Online Members Directory - Random order
website_membership_random_order · OCA/vertical-association
- Repository
- OCA/vertical-association · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Association
- Folder size
- 0.03 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/vertical-association
- Last tracking update
- 2026-08-07 09:06:34
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Pilar Vargas, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- None
- Description
This modules extends the online members directory for displaying the results in a random order, and displays a disclaimer about it at the top of the list.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
index |
index | ir.ui.view | qweb | Inherits website_membership.index |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | WebsiteMembership.members |
inherited | http | ALL |
Models touched (1)
New fields (0)
No new fields.
Public methods (1)-
search(self, domain, offset=0, limit=None, order=None)If we detect the injected context, and only when the search is done with limit (as there are 2 calls to search in the controller), we search for all the results, randomize them, and return them. We can't do slices, as if not, we won't be able to show all the records due to the pager and each time returning random results.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…