December 2018
Beginner to intermediate
404 pages
10h 14m
English
Kanban cards can have an option menu, placed in the top-right. Usual actions are to edit or delete the record, but it's possible to have any action that can be called from a button. We also have a widget to set the card's color.
The following is baseline HTML code for the option menu to be added at the top of the oe_kanban_content element:
<div class="o_dropdown_kanban dropdown">
<!-- Top-right drop down menu here... -->
<a class="dropdown-toggle btn" data-toggle="dropdown" role="menu" href="#">
<span class="fa fa-ellipsis-v"/>
</a>
<div class="dropdown-menu" role="menu">
<!-- Edit and Delete actions, if available: -->
<t t-if="widget.editable"> <a role="menuitem" type="edit" class="dropdown-item">Edit</a> ...Read now
Unlock full access