Odoo Help

0

I needed an alert box in search view. How can we show alert message in search view?

By
rosey
on 12/31/14, 6:20 AM 909 views

I have two group by fields - field 1 and field 2.

And two subdivisions for field 1.

When i select field 1 -- subdivision 1/subdivision 2 -->it shows the corresponding result.

If i select field 2 -- subdivision 1/subdivision 2 --> I need to dispaly an alert message. How should i display an alert box in search view?

0

Ludo - Neobis

--Ludo - Neobis--
2417
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 12/31/14, 6:37 AM

Create an on_change method for field 2 that always returns/displays an error message. Depending on the Odoo version you are using the code might differ slightly.

I'm using openerp 7. How can we call onchange method in search view?

rosey
on 12/31/14, 7:03 AM

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: 12/31/14, 6:20 AM
Seen: 909 times
Last updated: 3/16/15, 8:10 AM