I have created a Web Planner for custom module and I want to launch/open planner as soon as user reload/refresh(On page load) the page. How can we achieve it using Javascript code?
Below is current record which is used to trigger Odoo planner.
<record id="planner_template" model="web.planner">
<field name="name">Temp</field>
<field name="view_id" ref="test_planner"/>
<field name="menu_id" ref="allip_base_config.communications_studio_main_menu"/>
<field name="planner_application">planner_temp</field>
<field name="tooltip_planner"><![CDATA[
Plan your communication strategy: objectives, leads, KPIs, and much more!
]]>
</field>
</record>