Odoo Help

0

How to generate a pop up remainder in odoo with javascript

By
Odoo
on 3/22/16, 1:59 PM 917 views

Hi, All

Please guide me for how to generate a pop up remainder in odoo  for crm follow ups. Please guide me with a java script example   

Thanks all...

1

Axel Mendoza

--Axel Mendoza--
11611
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 3/23/16, 1:59 AM

That functionality it's already in Odoo. You could use it simply by creating events in the Calendar at the Messaging menu. Those events need to have a reminder alarms set in the Reminders field to be able to launch a popup remainder at a defined time before the start datetime of the event arrive. The alarms time remainders could configured in the menu /Settings/Technical/Calendar/Calendar Alarm.How it works:

In the calendar module there is an extension for the WebClient js class that add an interval based recursive call every 5 minutes to the url "/calendar/notify" to poll (like a cron) for events remainders to be displayed for the current user. 

To use that you could just create event with remainders alarms of type notification in your crm follow ups manually or dinamically by code. If you need to do something similar but not exactly that you could see how it's developed at /openerp/addons/calendar/static/src/js/base_calendar.js, but I think that it's enough for every remainder scenario and like always, it's better be integrated with the core than having to maintain our owns modifications

Hope this helps

Thanks For the Answer ..I need a pop up shows automatically for a five hours before like .is it possible

Odoo
on 3/23/16, 2:04 AM

Yes, just create another calendar alarm type of notification in the menu /Settings/Technical/Calendar/Calendar Alarm ... and use it in yours calendar events

Axel Mendoza
on 3/23/16, 2:06 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.

Register

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)

Stats

Asked: 3/22/16, 1:59 PM
Seen: 917 times
Last updated: 3/23/16, 2:03 AM