diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-05-11 09:39:57 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-05-11 10:15:10 +0200 |
| commit | 067815f97d3946e353482f55aae8ba0adea520e0 (patch) | |
| tree | a15b3f50f3dc3f62562bab09ae73e313d0bd067e /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | 508e5ed9dd603c38912dacd7774cfb420df58ee0 (diff) | |
[FIX] purchase: sort order_line by sequence
Commit 9d4efc8 added the sequence field on model
'purchase.order.line' and added this field in the
tree view (with 'handle' widget), to allow to
re-order the purchase order lines in the purchase
order form view.
However, for this to actually work, the default order
on the model should be on sequence field, otherwise
the rows will still be ordered by id even if the user
changes their sequence value by re-ordering them.
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
