Odoo Help


Check Condition in a Field

aci aisha
on 2/3/15, 11:52 PM 906 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)--

| 6 5 6
Baroda, 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

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

1 follower(s)


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