Online Members Directory - Random order
website_membership_random_order · OCA/vertical-association
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 7 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
1 HTTP endpoint
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…