Odoo Help

Welcome!

This community 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.

0

How do i call a class in multiple different ways

By
Mohammed Osman Gomda
on 4/12/13, 9:13 AM 667 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)

0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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