Odoo Help


Can't order products by ID

Pascal Tremblay
on 10/14/14, 1:06 PM 1,494 views

Hello there,

We like to modify product.product.tree adding <field name='id'/> 

The new column appears. But when I click on the header « ID » the column doesn't get ordered by ID...

All the others header works well. I can order column with them



Hi Pascal. As info, I tried adding the ID to the field tree view as per your example and can sort on that column (but can't sort on name field).

on 10/14/14, 2:47 PM

Pascal Tremblay

--Pascal Tremblay--
| 5 3 7
Alma, Canada
--Pascal Tremblay--

Pascal Tremblay
On 10/14/14, 3:03 PM

When I click on the header of the column « name », a little arrow appears to indicate that the is sorted. But no arrow in the header of my column « ID ».

How could I get this arrow for my new ID column?

Hi...This.question...me too!! I Treid adding the Id to the field tree View... can't sort on that column (only Default filed Cloumn can sort)... how do can use sort?

LAN-SIR Technology CO., LTD., Jason Wu
on 11/3/14, 10:12 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 10/14/14, 1:06 PM
Seen: 1494 times
Last updated: 3/16/15, 8:10 AM