Odoo Help


Partner ref in Sale Order

on 7/10/13, 9:33 AM 760 views

Hi, I want to show partner's 'ref' instead of 'name' in several views, for example, when making new Sale Order I want to work with 'ref' in partner_id combo (Sale Order form) and I want to search by 'ref' too inside combo, so I pass in context="{'show_ref': True, 'search_ref': True}" in partner_id field from sale.order.form view.

But I'm stack with tree view. I'm trying to do the same here, in Sale Order tree view I want to show partner's 'ref' instead 'name' but context trick doesn't work.

How can I do this?

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

0 follower(s)


Asked: 7/10/13, 9:33 AM
Seen: 760 times
Last updated: 3/16/15, 8:10 AM