Odoo Help


How do i call a class in multiple different ways

Mohammed Osman Gomda
on 4/12/13, 9:13 AM 996 views

I want show some fields in create and edit mode(make some fields readonly) if the creator of the record calls it, and to show additional fields to the destination person (when the record is invoked) and also make readonly fields that can be editted by the creator)




| 5 4 7
Baarn, Netherlands
On 5/13/13, 9:13 PM

You can modify the attributes of a field on the fly with the view-definition.

You have to create the form in the XML-file, and specify the readonly attribute. I'll show you an example, if you are interested. At the moment I do not have access to my code.

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/12/13, 9:13 AM
Seen: 996 times
Last updated: 3/16/15, 8:10 AM