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

mettre une condition dans un field

By
MonsieurB
on 5/27/16, 7:52 AM 217 views

Bonjour

<field name="analytic_account_id"  placeholder="Selectionner une affaire" attrs="{'invisible':[('selectionner', '=', 'create')]}"/>

avec un 'ou' j'ai une syntax erreur

<field name="analytic_account_id"  placeholder="Selectionner une affaire" attrs="{'invisible':[('selectionner', '=', 'create') || ('selectionner', '=', '' )]}"/>

Solved with

MonsieurB
on 5/27/16, 7:57 AM
MonsieurB
on 5/27/16, 7:57 AM

This is an english forum, please use english language.

Ermin Trevisan
on 5/28/16, 4:40 AM
0
tansadio
On 5/27/16, 9:42 AM

Ta syntaxe n'est pas bien construite, regarde le lien de la documentation:

https://www.odoo.com/documentation/8.0/reference/orm.html#domains

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/27/16, 7:52 AM
Seen: 217 times
Last updated: 5/27/16, 9:42 AM