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

Check Condition in a Field

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

Good Morning Friends,

Need Ur Help...!

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

The fields are,

                'file_type'
                'file_no_tm'
                'file_no_cr'

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
-4

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
996
| 5 3 6
Rajkot, 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 

https://bugs.launchpad.net/openobject-client/+bug/531814

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

Regards,

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)

Stats

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