Odoo Help

0

mettre une condition dans un field

By
MonsieurB
on 5/27/16, 7:52 AM 419 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

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.

Register

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)

Stats

Asked: 5/27/16, 7:52 AM
Seen: 419 times
Last updated: 5/27/16, 9:42 AM