Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I understand that in order to customise attributes of a field (e.g. make the field read-only/invisible/mandatory) or to set a group restriction, it is required to add the necessary conditions (i.e. setting the "groups" attribute and the "invisible" or "readonly" attributes) in the code, either in XML level or in Python level.
However, I would like to know whether there is a way to incorporate such changes through a UI, so that later on, say if a certain restriction needs to be removed from a field, it would be possible to do it without changing the code. Or else are there any modules that are developed that would give such capabilities?
Thanks in advance!
you can edit views through ui, using "developer mode". just activate developer mode (click admin username at right top corner of ui, then in dropdown menu click "About Odoo", then in the popup window click "Activate The Developer Mode") and then use options provided by developer mode (edit form view, edit tree view, etc...).
In my honest opinion it is silly that this community has a restriction of requiring 30 karma to comment on an answer, because it won't allow the person with less than 30 karma like myself asking the question to further clarify any doubts he/she has or further elaborate his question so that the person who is answering can get a clear idea. Hence I have no option but to put my comment as an answer, I apologise for that.
Thank you Temur for taking the time to answer my question. Having said that, I do not know who picked this as the accepted answer because clearly I didn't do it. Whether my account is compromised is something I have to look into, in which case, I apologise again. And this is not the answer I was looking for either.
What I need to know is without asking the client to access the developer mode, whether there is any other option he/she can use to change the attributes of fields in a given form.
Eg, In the HR recruitment module, the Name of the applicant is mandatory while the work phone is not. Let's assume that the client wants to make the work phone mandatory as well. Is there a way where he/she can do that without using developer mode? Are there any modules developed which provide such functionality?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/11/15, 4:22 AM|
|Seen: 1068 times|
|Last updated: 6/17/15, 3:16 AM|