Odoo Help


This community 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.


Partner ref in Sale Order

on 7/10/13, 9:33 AM 466 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?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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