Contributors mailing list archives

Browse archives


Re: How to propagate custom info/note from Sale Order Line to Purchase Order Line using MTO

Intero Technologies GmbH, C. Zoellner
- 13/11/2020 16:30:25

for Odoo 12 (maybe for later versions too) you can propagate your sales order line values by extending sale.order.line._prepare_procurement_values()

Later on - i won't get into detail ;-) - those values should end up in purchase.order.line._update_purchase_order_line().

That should be enough to get values from sales order lines through procurement to purchase order lines.

Best Regards

Von: "Radovan Skolnik" <>
An: "Odoo Community Association, (OCA) Contributors" <>
Gesendet: Freitag, 13. November 2020 15:37:00
Betreff: How to propagate custom info/note from Sale Order Line to Purchase Order Line using MTO


for our customers we offer standard products but also one-off custom-made stuff 
that we order from our suppliers. These are for example special tables with 
individual dimensions for each project.
So we have a "template" product (not in the Odoo meaning) that we put into 
Sale Order  and in the special SOL field we specify the dimensions. Now if the 
customer accepts the offer, Purchase Order is automatically created as we have 
MTO setup. We do not group POs nor POLs, so each SOL gets its own POL.

Now how would I be able to propagate contents of that special SOL field into 
its apropriate POL? Or should I use any other approach?

Thank you very much. Best regards

	Radovan Skolnik

Post to:

Christian Zöllner

Intero Technologies GmbH
Heinrich-Heine-Ring 76
D - 18435 Stralsund
Tel: +49 (0) 3831 – 44 55 7 - 0
Fax: +49 (0) 3831 – 44 55 7 - 79


Intero Technologies GmbH • Firmensitz: Heinrich-Heine-Ring 76, 18435 Stralsund , Deutschland • Registergericht: Amtsgericht Stralsund, HRB 7076 • Geschäftsführer: Frank Löffler, Lars Lifson • USt-Ident.Nr. DE 251251697

This eMail and its content is dedicated to the intended recipient only. If you have received it in error please contact the sender immediately by fax or return eMail. Please then delete the eMail and any copies of it.