Luis Anrango
Luis Anrango

Reputation: 27

How to sort a field many2one

I need sort a combo box in asc o desc in ODOO 8.

This is my combo box. This is my combo box

Help me please, thaks.

Upvotes: 1

Views: 1658

Answers (1)

Navi
Navi

Reputation: 1052

In your xml context="{'order_display': 'name desc' }" for descending order. Try asc in it.

Upvotes: 3

Related Questions