[ADD] portal_ux: grant portal access to all contacts in one click - #418
Closed
gal-adhoc wants to merge 1 commit into
Closed
[ADD] portal_ux: grant portal access to all contacts in one click#418gal-adhoc wants to merge 1 commit into
gal-adhoc wants to merge 1 commit into
Conversation
3 tasks
Contributor
gal-adhoc
force-pushed
the
19.0-t-70085-gal
branch
from
July 2, 2026 17:35
c4dc210 to
e4c1940
Compare
gal-adhoc
force-pushed
the
19.0-t-70085-gal
branch
2 times, most recently
from
July 21, 2026 14:45
30a8421 to
895321b
Compare
Adds a "Grant Access to All" button to the portal access wizard (portal.wizard) that grants portal access to every contact listed in the wizard with a valid email in a single action, instead of having to click "Grant Access" row by row.
gal-adhoc
force-pushed
the
19.0-t-70085-gal
branch
from
July 21, 2026 15:07
895321b to
7bcb695
Compare
Contributor
|
@roboadhoc r+ nobump |
Contributor
|
@gal-adhoc @lef-adhoc linked pull request(s) ingadhoc/odoo-academic#431 not ready. Linked PRs are not staged until all of them are ready. |
roboadhoc
pushed a commit
to ingadhoc/odoo-academic
that referenced
this pull request
Jul 22, 2026
The generic "Grant Access to All" button on the portal wizard was academic-specific but had no academic logic in it. It now lives in the horizontal module portal_ux, available on any database. academic depends on portal_ux to keep the button; the partner_type-based group assignment override on portal.wizard.user is untouched and keeps applying through polymorphism. closes #431 Related: ingadhoc/miscellaneous#418 Signed-off-by: Nicolas Mac Rouillon (ADV) <nmr@adhoc.inc>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
Adds a new horizontal module
portal_uxthat adds a "Grant Access to All" button to the native portal access wizard (portal.wizard). It grants portal access to every contact listed in the wizard with a valid email in a single action, instead of requiring "Grant Access" to be clicked row by row.action_grant_access_all()onportal.wizard, iteratinguser_idsand delegating to the existing per-rowaction_grant_access()onportal.wizard.user(so any override of that method from other installed modules keeps applying).portal.wizard_view, adding the button afterwelcome_message.This generalizes functionality that previously existed only inside the
academicmodule (vertical, education-specific), so it becomes available on any database.academicmigration is in a follow-up PR oningadhoc/odoo-academic.Test plan
portal_uxon a clean 19.0 database.res.partnerrecords with valid emails → Action → "Grant portal access".email_state == 'ok'get portal access in one pass; invalid/duplicate emails are skipped without error.portal_ux/tests/test_portal_wizard.pypass.