Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

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

by
Data Dance s.r.o., Radovan Skolnik
- 14/11/2020 18:05:06
I was trying this direction. But somehow the second procurement that was 
creating PO(L)s didn't have those - only the first one creating the move. But 
will try again.

Best regards

	Radovan

On piatok 13. novembra 2020 16:32:10 CET Christian Zöllner wrote:

> Hi,   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 Christian    Von: *"Radovan Skolnik"

> <radovan@skolnik.info> An: *"Odoo Community Association, (OCA)

> Contributors" <contributors@odoo-community.org> 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    Hello, 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

> 

> 

> _______________________________________________             Mailing-List:

> https://odoo-community.org/groups/contributors-15 [1]             Post to:

> mailto:contributors@odoo-community.org             Unsubscribe:

> https://odoo-community.org/groups?unsubscribe [2] --  Christian Zöllner

> E-Mail: c.zoellner@intero-technologies.de  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  Internet: www.intero-technologies.de 

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

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [3]

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [4]

> 

> 

> 

> [1] https://odoo-community.org/groups/contributors-15

> [2] https://odoo-community.org/groups?unsubscribe

> [3] https://odoo-community.org/groups/contributors-15

> [4] https://odoo-community.org/groups?unsubscribe




Reference