[FIX] web_kanban: in menu of kanban column, always display "Archive Records"

Do not hide the menu entries when the column is empty, because the column is
not re-rendered after you quick-create records in it.
This commit is contained in:
Raphael Collet
2015-12-11 10:03:02 +01:00
parent b5fafb5aeb
commit e4e807d4b3
@@ -23,7 +23,7 @@
<li t-if="widget.editable and widget.id"><a class="o_column_edit" href="#">Edit</a></li>
<li t-if="widget.deletable and widget.id"><a class="o_column_delete" href="#">Delete</a></li>
</t>
<t t-if="widget.has_active_field and widget.data_records.length">
<t t-if="widget.has_active_field">
<li><a class="o_column_archive" href="#">Archive Records</a></li>
<li><a class="o_column_unarchive" href="#">Unarchive Records</a></li>
</t>