OdooWiki OCA HUB

Project No Portal

project_no_portal folder_open OCA/project open_in_new
Project License: AGPL-3

This module add per-company switch block_project_portal_access under Settings > Project. Active by default.

For a blocking company:

  • A constraint forbids privacy_visibility = 'portal' (default becomes employees).
  • A post_init_hook migrates existing portal projects. This alone removes portal read access.
  • A mixin on project.project/project.task also denies portal users in _search/_check_access. This adds an additional security without deleting existing ir.model.access
  • The "Share Project" / "Share Task" actions are unbound. Calling them, for example from the code, raises an error. An uninstall_hook restores them.

Scoped per company (multi-company friendly) and fully reversible.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a per-company switch in Settings > Project that blocks portal users from reading a company's projects and tasks, prevents setting portal visibility, and disables the Share Project / Share Task actions.

This module gives each company a setting called "Block portal access to projects and tasks", found in Settings > Project under a "Portal Access" block. When it is on for a company, portal users cannot read that company's projects or tasks, even if access rules would otherwise allow it.

  • Portal visibility is refused: a project of that company cannot be set to "portal" visibility, and the default visibility for new projects becomes "employees".
  • Existing portal-visible projects of that company are automatically switched to "employees" when the setting is turned on, and also during module installation.
  • The "Share Project" and "Share Task" actions are unbound, so they cannot be used for that company; the Share Task link is also hidden on the task kanban view. Trying to open the sharing wizard raises an error explaining that an administrator can allow it in Settings > Project.
  • The setting is per company, so in a multi-company database other companies can keep portal access. The share actions are re-enabled as soon as at least one company still allows portal access.

The module touches project.project, project.task, res.company, res.config.settings and the sharing wizard portal.share. It is reversible: uninstalling restores the share actions.

Depends on

project
Models and fields (6)
  • res.company · extends an existing modelblock_project_portal_access (Block portal access to projects and tasks)
  • portal.share · extends an existing model
  • project.task · new modelportal_share_blocked
  • project.project · new modelprivacy_visibility
  • res.config.settings · extends an existing modelblock_project_portal_access (Block portal access to projects and tasks)
  • project.portal.block.mixin · new model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.