-
Committer:
Xavier Morel
-
Date:
2011-01-31 14:27:27 UTC
-
Revision ID:
xmo@openerp.com-20110131142727-lc7bq9tg7wq4wcqw
[FIX] JS error when reordering list elements via d&d
* Switched the code from draggable+droppable to sortable
* Simplified the signature of dragRow from (dragged_record_id, destination_record_id, view) to (dragged_record_id, destination_index)
* Simplified Python management by using builtin functions to reorder elements inside ids list
* Fixed Python side: there is no guarantee that orm.read() will return objects in the order the ids were provided