Odoo Help


Field attrs invisible if Field Value is lower than an other Field Value

on 10/31/16, 5:47 AM 456 views


is it possible to make a Conditional on a display Field is a Field value is lower than an other field value ?

thx in advance 

On 10/31/16, 6:34 AM

that what I realize with a little search on the forum...

I made it in JS.

thx you

Can you include your solution (or part of it) in your answer?

Travis Waelbroeck
on 11/15/16, 1:45 AM

look at the fasluca answer, I do something like that

on 11/15/16, 3:34 AM
On 10/31/16, 6:12 AM

Give a try:
Step1 : add a boolean field in your model
Step2 :check your condition and set value for that boolean field using methods like 'onchange'
Step3 :give your attr based on boolean field

lemme know if you succeed

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: 10/31/16, 5:47 AM
Seen: 456 times
Last updated: 10/31/16, 6:34 AM