hey everyone, I am trying to generate a outlook type alarm/alert in openerp. As for different module as I have seen they send email for alert. But I want to show a popup message. As in openerp we have corn.py or scheduler, I am trying to create a event from Calender and that event should show a popup message will notify about the event. from Settings -> Scheduler -> Scheduled Action ->Run Event Reminder - > technical Data its call a method do_run_scheduler from calender.alarm. I can create a custom method and use this for popup message by
raise osv.except_osv(_('Warning!'), ('Event'))
but its not showing in openerp screen rather its showing in log file. Have any idea. How to accomplish this warning message using this scheduler action. Appreciate your help.
raise osv.except_osv(_('Warning!'), ('Event')) is used for raising exception/error dialog in a particular OSV / class / model which usually in a form or a tree or a wizard...
but what you want is not possible for now , not that i know of becuase openerp do not have a global message dialog which can be called ,or simply put it do not have such dialog widget yet, it has to build as a core components in the js library of the web module .
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
|Asked: 7/1/13, 5:38 AM|
|Seen: 4839 times|
|Last updated: 7/3/16, 9:02 AM|