Odoo Help


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.


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

on 12/31/14, 6:20 AM 668 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?


Ludo - Neobis

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


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?

on 12/31/14, 7:03 AM

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)


Asked: 12/31/14, 6:20 AM
Seen: 668 times
Last updated: 3/16/15, 8:10 AM