March 2018
Beginner to intermediate
336 pages
8h 22m
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" href="#">
<span class="fa fa-ellipsis-v" aria-hidden="true"/>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<!-- Edit and Delete actions, if available: --> <t t-if="widget.editable"> <li><a type="edit">Edit</a></li> ...Read now
Unlock full access