[IMP] kanban :- if no group by on field then drag and drop functionality disable.
bzr revid: ysa@tinyerp.com-20110915073603-5yvddorwgu0xwyt6
This commit is contained in:
parent
ccd10f5822
commit
7b500f02ad
|
@ -129,6 +129,9 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
|
||||||
if (this.$element.find(".oe_kanban_draghandle").length > 0) {
|
if (this.$element.find(".oe_kanban_draghandle").length > 0) {
|
||||||
drag_handel = ".oe_kanban_draghandle";
|
drag_handel = ".oe_kanban_draghandle";
|
||||||
}
|
}
|
||||||
|
if (!this.group_by.length) {
|
||||||
|
drag_handel = true;
|
||||||
|
}
|
||||||
this.$element.find(".oe_column").sortable({
|
this.$element.find(".oe_column").sortable({
|
||||||
connectWith: ".oe_column",
|
connectWith: ".oe_column",
|
||||||
handle : drag_handel,
|
handle : drag_handel,
|
||||||
|
|
Loading…
Reference in New Issue