Kanban Drag Drop Control
by Mahmoud Fakhreddine https://navybits.com/ , Navybits https://navybits.com/Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 55 |
Technical Name |
kanban_draggable |
License | AGPL-3 |
Website | https://navybits.com/ |
Versions | 10.0 11.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 55 |
Technical Name |
kanban_draggable |
License | AGPL-3 |
Website | https://navybits.com/ |
Versions | 10.0 11.0 |
Disable DragDrop/Sorting In Specific Kanban View
In the Kanban view, Odoo does not offer precise control over the drag and drop behavior. Sometimes we don't want to allow drag and drop between columns as this might result in unexpected results. For example, if an end user groups products by category, he can change the category of a product by mistake just by dragging/dropping to the wrong one. This module adds extra attributes to the kanban view in order to precisely control the allowed actions. You can specify if dragging columns is enabled or not. You can disable/enable dragging cards (records ) between columns and you can completely disable sorting and dragging.
To disable drag drop record between columns add:
disable_drag_drop_record="true" into the <kanban> tag.
To disable drag drop and sorting records add :
disable_sort_record="true" into the <kanban> tag.
To disable sorting columns add :
disable_sort_column="true" into the <kanban> tag.
Example:
<kanban disable_sort_column='true' disable_sort_record='true' disable_drag_drop_record='true'>
...
...
</kanban>
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
This is using Odoo v11, enterprise or community?
I'm also in the process of upgrading to Odoo13 right now, so if there is a way to support Odoo12/13 , that would be really great :)
everything works well on desktop
but on mobile, it crashes the moment you open a view that has your code :(
Re:
This is using Odoo v11, enterprise or community?