← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 722699] Re: [6.0] sale - order of sales order lines

 

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/722699

Title:
  [6.0] sale - order of sales order lines

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  Hi,
  I think the order of the sales order lines is wrong. In sale/sale.py : sale.order.line : it is defined as "sequence, id desc". This means that the line with the highest sequence number will be the first one. This is contradictory with the logic of the sequence in OpenERP. Moreover, if no sequence is used, last created order lines will be listed first (on the screen and in the reports) which is not logical. When I create a sale order, I want to see the lines in the order of creation.
  The _order should be "sequence, id" instead of "sequence, id desc".
  kr.



References