Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
6 Відповіді
11852 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

Hi ,

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 .

Аватар
Відмінити
Автор

Thanks Kalmenchia for your answer. Its disappointing that they haven't got this functionality. May be I have to workaround in other way to change the color of the view. Please buzz me if you have something pop up in your mind.

Regards.

Найкраща відповідь

Look at the "Special Feature" section of the app https://apps.odoo.com/apps/modules/9.0/joint_calendar/. It let you configure any sort of popup reminders and emails for any Odoo model

Аватар
Відмінити
Найкраща відповідь

Mohammed and freinds,

Please check  the popup reminder helps you on this.

Here is the module : https://www.odoo.com/apps/modules/8.0/popup_reminder

Thanks.

Аватар
Відмінити
Автор Найкраща відповідь

Thanks Kalmenchia for your answer. Its disappointing that they haven't got this functionality. May be I have to workaround in other way to change the color of the view. Please buzz me if you have something pop up in your mind.

Regards.

Аватар
Відмінити