OdooWiki OCA HUB

Portal Partner Block Data Edit

portal_partner_data_no_edit folder_open OCA/partner-contact open_in_new
Customer Relationship Management License: AGPL-3

This module allows to block portal users info editing to prevent unproper changes. We can configure it on every partner.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Lets you block a customer's portal user from editing their own contact details. When enabled on a contact, the portal 'My Account' page becomes read-only and shows a 'View' link instead of 'Edit'.

This module adds a control on the contact form so you can decide, contact by contact, whether the linked portal user is allowed to change their own personal information.

  • On the contact form (res.partner) a new checkbox 'Block Customer Info Edit' appears after the Reference field. Tick it to lock the portal user's data editing.
  • In the portal, the 'My Account' page normally shows an 'Edit' link. When the block is active, that link is replaced by a 'View' link, so the customer can still open the page but cannot change anything.
  • On that page, text, phone and email fields are turned into plain read-only text, dropdowns become read-only text, and the save/submit buttons are removed. This is done automatically for the whole account form, so any extra field added by other modules is also protected.
  • The setting is read from the logged-in portal user's linked contact, so each customer is handled independently.

The module touches the contact model res.partner, the portal account page and the portal layout template. It does not add new menus; the option is configured directly on the contact record.

Depends on

portal
Models and fields (1)
  • res.partner · extends an existing modelblock_portal_data_edit (Block Customer Info Edit)

Text generated by AI (DeepSeek) from reading the Odoo 15.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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 15.0

To test this module, you need to:

  • Block portal info editing for a partner:
  • Go to Contacts and choose the partner.
  • In the the Sales and Purchases tab, Misc section there is a field named Block Portal Info Edit. Enable or disable at your convenience.

Once configured log in with that user and:

  • Go to /my/account/
  • If the editing is blocked, you won't be able to edit any detail or submit the form.

No verified information in OCA: Installation.

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.