c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #16940
[Bug 722699] [NEW] [6.0] sale - order of sales order lines
Public bug reported:
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.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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):
New
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.
Follow ups
References