Merge lp:~openerp-dev/openobject-addons/6.0-opw-574364-nep into lp:openobject-addons/6.0

Proposed by Nehal Panchal (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: no longer in the source branch.
Proposed branch: lp:~openerp-dev/openobject-addons/6.0-opw-574364-nep
Merge into: lp:openobject-addons/6.0
Diff against target: 12 lines (+1/-1)
1 file modified
sale_layout/sale_layout.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-574364-nep
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+104220@code.launchpad.net

Description of the change

Hello,

When we create a Sale Order with multiple Sale Order Lines, Sale Order Lines are being displayed in reverse order of creation or it gets ordered randomly after confirmation of the order.

This fixes the issue by keeping the sort order of the Sale Order Lines in ascending order of creation

Thanks.

To post a comment you must log in.
5217. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5218. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
5219. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5220. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5221. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5222. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5223. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5224. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5225. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5226. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5227. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5228. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5229. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5230. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5231. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5232. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5233. By Xavier ALT

[MERGE] OPW 574164: sale: do not copy 'procurement_id' field on sale order line duplication

5234. By nel

[FIX] sale_margin: avoid computing twice to get margin calculated

5235. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5236. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5237. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5238. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5239. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5240. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5241. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5242. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5243. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5244. By Xavier ALT

[MERGE] OPW 17580: purchase: at unlink force removal of concurrency-info, record modified by forced workflow transition to 'purchase_cancel'

5245. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5246. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5247. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5248. By Olivier Dony (Odoo)

[MERGE] OPW 575071: base_report_creator: read() should respect `ids` and must not return None values

5249. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5250. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5251. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5252. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5253. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5254. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5255. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5256. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5257. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

5258. By Nehal Panchal (OpenERP)

[FIX] sale_layout : Fixed the usability issue of Sale Order Lines are being displayed random sequence of creation

Unmerged revisions

5258. By Nehal Panchal (OpenERP)

[FIX] sale_layout : Fixed the usability issue of Sale Order Lines are being displayed random sequence of creation

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale_layout/sale_layout.py'
2--- sale_layout/sale_layout.py 2012-02-16 08:45:30 +0000
3+++ sale_layout/sale_layout.py 2012-06-15 10:06:19 +0000
4@@ -95,7 +95,7 @@
5 default['layout_type'] = self.browse(cr, uid, id, context=context).layout_type
6 return super(sale_order_line, self).copy(cr, uid, id, default, context)
7
8- _order = "order_id, sequence asc"
9+ _order = "sequence asc, id"
10 _description = "Sales Order line"
11 _inherit = "sale.order.line"
12 _columns = {