Odoo Help


Adding supplier Product reference to purchas order

on 4/12/13, 8:27 AM 2,911 views

Hello, I know that it is possible to do that, but I don't know how we can add the supplier reference of the products to purchase order line, as it is is important and sometimes imperative to communicate supplier product ref. to supplier for PO handling by supplier. Regards

On 4/14/13, 6:17 AM

Resolved I just changed the purchase.py as follows:

    +if product.partner_ref:
    -            #name += '\n' + product.description_purchase
    +            name=product.partner_ref
            res['value'].update({'name': name})
            # - set a domain on product_uom
Ram S
On 4/12/13, 8:39 AM

When you create a product, add supplier. In supplier you can specify supplier specify product details and supplier specify product reference

Hope this helps

I have already entered suppliers information(including supplier product reference). The problem is that when you create manually a purchase order, supplier product ref. does not appear purchase order line

on 4/12/13, 10:20 AM
Erman Terciyanlı
On 6/29/13, 5:52 PM

After changing purchase.py as given above supplier reference could be seen in PO when we add an order from Quotations or Purchase Orders. However, description is equal to internal reference and name when we create an order from Purchase Requisitions. Is there any way to add supplier reference to orders when we create orders from Purchase Requisitions.

On 4/20/13, 7:50 AM

As a newbie I need to ask where the file is located? Also, it would be helpful to know in what section of the file to insert the change. Is there a negative impact of the change?

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

1 follower(s)


Asked: 4/12/13, 8:27 AM
Seen: 2911 times
Last updated: 3/16/15, 8:10 AM