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

Display confirm dialog under a certain condition

By
ASP
on 5/21/14, 9:47 AM 782 views

Hi All,

I'm looking for something very desperately. I want to show some warning message on a confirm dialog box, from my python code under a certain condition. The confirm dialog will have OK and Cancel buttons. On clicking Cancel, it won't allow to proceed/validate further but on OK it'll do the usual thing.

Please help me on this. Any help woul be appreciated. 

NOTE: I've tried with some warning moule suggested in this forum, but that didn't work for me in write() function.

Cheers

ASP :)

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/21/14, 9:47 AM
Seen: 782 times
Last updated: 3/16/15, 8:10 AM