Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3145 Widoki

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!

Awatar
Odrzuć
Najlepsza odpowiedź

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!

 

Awatar
Odrzuć
Najlepsza odpowiedź

Should be purchase_order:_prepare_order_picking in purchase/purchase.py

Awatar
Odrzuć
Autor

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