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)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3111
Views
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up