Odoo Help


Warning Popup during code execution (not on_change)

Gregor Heger
on 5/2/16, 5:00 AM 767 views


I have a method for some computation (creating 10 purchase orders) which is executed when a state changes. On certain cases a warning popup should be shown after the creation. Is there a way to do it?

Means which do NOT work:

- on_change method: Because it has nothing to do with dynamic field inputs
- Exceptions: They would cancel the creation of the 10 purchase orders

Hi Gregor, You may write in the Message/Communication History(in the bottom of the form) of that record. Except it, i don`t think there is any way to achieve that.

Mohit Chandra (Webkul)
on 5/2/16, 6:57 AM

Thanks but I also don't want to use the Message/Communication History.

Gregor Heger
on 5/2/16, 7:15 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.


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: 5/2/16, 5:00 AM
Seen: 767 times
Last updated: 5/2/16, 7:16 AM