v 10.0 v 11.0 Third Party 1574
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 55
Technical Name kanban_draggable
LicenseAGPL-3
Websitehttps://navybits.com/
Versions 10.0 11.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 55
Technical Name kanban_draggable
LicenseAGPL-3
Websitehttps://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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
by
ali
on 10/6/20, 10:11 AM

This is using Odoo v11, enterprise or community?
 

                                                                                                                   no, I only tested on Odoov12 community. I should have mentioned this on my previous comment.

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 :)


by
ali
on 10/6/20, 4:29 AM

everything works well on desktop

but on mobile, it crashes the moment you open a view that has  your code :(

Re:
by
NavyBits
on 10/6/20, 9:59 AM Author

This is using Odoo v11, enterprise or community?