Restrict Field Update - Entrivis

by
Odoo

14.73

v 12.0 Third Party 1
Technical Name restrict_field_entrivis
LicenseLGPL-3
Websitehttp://www.entrivistech.com
Also available in version v 13.0
You bought this module and need support? Click here!
Technical Name restrict_field_entrivis
LicenseLGPL-3
Websitehttp://www.entrivistech.com
Also available in version v 13.0

Easy field level security in Odoo 12

If you are Odoo implementer, you may come across the request from the customer to make some sensitive fields non-editable for certain user groups. Entrivis Tech developed the module which provides such a feature.
First of all, you need to go to the company form view. You will find a new tab called Restricted Fields.
Here you can select the fields for which you want to restrict the access. We have taken the price unit field in the Sales Order line in this example. You select multiple fields here.
To check how it works, let's go to the sales quotation. When you create a new quotation and add a product, the system will not allow you to edit the Unit Price field. Check the image:
Now what if you want to allow some users to edit the product price in the quotation. Go to the form view of the user, with debug/developer mode enabled.
There you will find a check box "Allow Restricted Fields". Check it for the user in order to grant the permission to edit the unit price in the quotation.
Now that we have ticked the box, the user will be able to edit the unit price. Refresh the browser and create a quotation to check.
Known limitation: it does not work with the point of sale.

Say Hello

For Odoo development, consulting, migration, installation, support, integration and system audit, drop an email at:

hello@entrivistech.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.