Odoo Help


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.


Check Condition in a Field

aci aisha
on 2/3/15, 11:52 PM 533 views

Good Morning Friends,

Need Ur Help...!

I add a custom module to add 3 fields in Task(form view)..

The fields are,


I have to view the fields for particular groups as follows,

                 <field name="file_type" groups="file_details.group_all_files_user"/>

                 <field name="file_no_tm" groups="file_details.group_trademark_user"/>

                 <field name="file_no_cr" groups="file_details.group_company_registeration_user"/>

But i have to check one thing,

If field_type="Trademark Registeration"

                 file_no_tm should be visible for the group "group_all_files_user" also

If field_type="Company Registeration"

                 file_no_tcr should be visible for the group "group_all_files_user" also             

How i made this condition & where??

Thanks in Advance...

Hey,,,No1 Know This??

aci aisha
on 2/4/15, 12:20 AM

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
| 5 3 6
Gandhinagar, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 2/4/15, 1:06 AM

Hello aci aisha,

see this link may be very helpfull for you 


if you find this answer helpful, please give me a thumbs up vote    


Ankit H Gandhi

Sorry,I didnt got it!!

aci aisha
on 2/4/15, 6:43 AM

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

1 follower(s)


Asked: 2/3/15, 11:52 PM
Seen: 533 times
Last updated: 3/16/15, 8:10 AM