Odoo Help


What Method/Function Is Being Called When A Purchase Order Is Automatically Generated?

Alex Gallien
on 7/9/14, 6:12 PM 761 views

I am trying to have a custom field in Purchase Orders be automatically filled with the Internal Reference field from a Sales Order once it has been confirmed, but I can't find the code that OpenERP uses to automatically generate PO/MOs from a confirmed SO Quotation. Does anyone know where that is located? I know it is passing similar data in the form of the SO/MO numbers to the Source Document field. Thanks!


Leonardo Donelli

--Leonardo Donelli--
| 5 4 8
Roma, Italy
--Leonardo Donelli--

Physics student and part-time developer.

Leonardo Donelli
On 7/10/14, 4:31 AM

Thanks, that was definitely helpful. Do you know where the mrp picking orders are, for creating Manufacturing Orders?

Alex Gallien
on 7/10/14, 3:01 PM

michel Guénard

--michel Guénard--

| 5 5 8
--michel Guénard--

VP operations & finance Social entrepreneur Certified Public Accountant Past Chief internal auditor

michel Guénard
On 10/15/14, 12:50 PM

Apart from using the above mentionned coding (which I am not allowed as an Odoo Saas user) is there any possibility to transform a sales quotation  (in approved state) into one or several purchase orders to be sent to suppliers?

Any solution except exporting/importing via csv file will be useful!


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: 7/9/14, 6:12 PM
Seen: 761 times
Last updated: 3/16/15, 8:10 AM