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

Warning Popup during code execution (not on_change)

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

Hi,

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

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