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

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

By
VodoO
on 10/31/16, 5:47 AM 184 views

Hi,


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 

0
VodoO
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?

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

look at the fasluca answer, I do something like that

VodoO
on 11/15/16, 3:34 AM
0
fasluca
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

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