Odoo Help


How to set domain restriction in new api of odoo

on 5/4/15, 1:15 AM 488 views

hai to all............

  I have use onchange method by odoo 8, but domain restriction can not be work within odoo8 but it's work in openerp7. How to set domain restriction in odoo8        



| 7 7 8
Turnhout, Belgium

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 5/4/15, 2:27 AM

Why would domains not work in Odoo 8? I use them all the time. For example:

 <field name="sftpip" attrs="{'invisible':[('sftpwrite', '==', False)],'required':[('sftpwrite', '==', True)]}"/>

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 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: 5/4/15, 1:15 AM
Seen: 488 times
Last updated: 5/4/15, 2:27 AM