Community mailing list archives
RE: Additional Button In Calendar Viewby
And need to modified the fields_view_get method on the object that you desired to modified, to activated the toolbar in calendar view.
It’s a hard job but its possible.
Expert in Finance, Information System & Business Intelligence
Odoo Silver Partner
Tel. 13670137019 (China - Shenzhen)
From: Yaseen Shareef [mailto:email@example.com]
Sent: Friday, February 26, 2016 5:53 PM
To: Community <firstname.lastname@example.org>
Subject: Additional Button In Calendar View
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-jquery=".oe_pager_value" t-operation="prepend">
<a t-if="(widget.ViewManager && widget.ViewManager.active_view) === 'calendar"
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?