List view of field function not order from returned ids

Bug #621868 reported by Songpon Phusing
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Invalid
Low
Unassigned
5.0
Invalid
Undecided
Unassigned
Trunk
Invalid
Low
Unassigned

Bug Description

Hello,

I created field function one2many and ordered ids from function before return result.
However in GTK is work correctly, bug is affected only web-client.
you can see my screenshot for the bug.

Revision history for this message
Songpon Phusing (songpon.p-almacom) wrote :
Revision history for this message
Songpon Phusing (songpon.p-almacom) wrote :

Sorry I'm forget to put my client/server revno.
Web : 2918
server : 2095

I'm also add my source that make order ids for the function.

Thank you so much,

Songpon

Navrang Oza (noz-tiny)
Changed in openobject-client-web:
importance: Undecided → Low
Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Hello Songpon,

Would you please attach your model as i did not get the error on my end.

Thanks.

Revision history for this message
Songpon Phusing (songpon.p-almacom) wrote :

I'm sorry DBR for my late reply,

here is my src
- model
http://pastebin.com/dDWZMymm
- view
http://pastebin.com/Y3s2NPQs

Let me explain you more,
My module work for group picking and show all stock moves in all picking
but in stock.move not order by default I need to order it just in this view , I don't want to affect in normal view by code in _order.

The way to show list of moves can use function(o2m , m2m) by return list of ordered ids. It should show same as sorted list but in my attach show sorted only in gtk.

Thanks,
Songpon

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.