[IMP] project: remove edit button from kanban card
This commit focuses on enhancing the Kanban card functionality by removing a redundant button. Previously, users were already able to access the form view by clicking directly on the Kanban card itself. However, the presence of the redundant button caused potential confusion and cluttered the interface. With this update, we have improved the user experience by eliminating the unnecessary button, allowing users to seamlessly access the form view with a simple click on the card. This change simplifies the workflow, removes redundant elements, and contributes to a cleaner and more visually appealing user interface. The aim is to optimize usability and improve the overall aesthetic of the application. closes odoo/odoo#125364 Task: 3369698 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
<progressbar field="state" colors='{"1_done": "success", "03_approved": "success", "02_changes_requested": "warning", "1_canceled": "danger", "04_waiting_normal": "200", "01_in_progress": "200"}'/>
|
||||
<templates>
|
||||
<t t-name="kanban-menu" t-if="!selection_mode">
|
||||
<a t-if="widget.editable" role="menuitem" type="edit" class="dropdown-item">Edit</a>
|
||||
<div role="separator" class="dropdown-divider"></div>
|
||||
<ul class="oe_kanban_colorpicker" data-field="color"/>
|
||||
</t>
|
||||
|
||||
@@ -543,7 +543,6 @@
|
||||
<t t-name="kanban-menu" t-if="!selection_mode" groups="base.group_user">
|
||||
<a t-if="widget.editable" role="menuitem" type="set_cover" class="dropdown-item" data-field="displayed_image_id">Set Cover Image</a>
|
||||
<a name="%(portal.portal_share_action)d" role="menuitem" type="action" class="dropdown-item" context="{'dialog_size': 'medium'}">Share</a>
|
||||
<a t-if="widget.editable" role="menuitem" type="edit" class="dropdown-item">Edit</a>
|
||||
<div role="separator" class="dropdown-divider"></div>
|
||||
<ul class="oe_kanban_colorpicker" data-field="color"/>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user