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 to set domain restriction in new api of odoo

By
shameem
on 5/4/15, 1:15 AM 400 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        

0

Yenthe

--Yenthe--
6721
| 7 7 8
Turnhout, Belgium
--Yenthe--

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

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

Yenthe
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/4/15, 1:15 AM
Seen: 400 times
Last updated: 5/4/15, 2:27 AM