Merge lp:~peter-langenberg/openobject-addons/addons12_001-1134365 into lp:openobject-addons/7.0
Proposed by
Peter Langenberg
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chris Biersbach (OpenERP) | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 8862 | ||||
Proposed branch: | lp:~peter-langenberg/openobject-addons/addons12_001-1134365 | ||||
Merge into: | lp:openobject-addons/7.0 | ||||
Diff against target: |
12 lines (+1/-1) 1 file modified
sale/sale.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~peter-langenberg/openobject-addons/addons12_001-1134365 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Biersbach (OpenERP) (community) | Approve | ||
Review via email: mp+152459@code.launchpad.net |
Commit message
[7.0] sequence of sales order lines wrong after save
Description of the change
[7.0] sequence of sales order lines wrong after save
To post a comment you must log in.
This fix seems ok. In fact, the order is random, because on one sale order, the order_id is the same for all the lines, and the sequence is initially 10 (it is only changed if you change the order manually afterwards), so the order could actually be anything.
Your fix works because we are in a case with editable=bottom, so a line that is added afterwards, which will get a higher id, will be at the bottom.