Community mailing list archives

Additional Button In Calendar View

- 02/26/2016 04:47:38

Is it possible to add a simple object or action button in the calendar view in Odoo? Have tried adding using the normal method in odoo, but that doesnt work. Also tried something that goes by as follows:

<t t-extend="ViewPager">
    <t t-jquery=".oe_pager_value" t-operation="prepend">
        <a t-if="(widget.ViewManager &amp;&amp; widget.ViewManager.active_view) === 'calendar" 
                    class="oe_bold oe_list_button_import_pdf"

The above snippet works for the list view in adding an additional link but when I change the active view condition to calendar, it doesn't seem to work. Is there any solution to this?

Thanks And Regards,
Yaseen Shareef

Odoo Developer/ Consultant
Skype: yaseen.shareef91