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
- 13/11/2020 15:54:56
Hello Daniel,

but isn't this used for Services only? I have tried it but it never gets 
called with Products. With Products the flow goes through Procurements.

Best regards

	Radovan

On piatok 13. novembra 2020 15:46:48 CET Daniel Reis wrote:

> Hello,

> 

> You can extend the "_purchase_service_prepare_order_values" method,

> originally declared at addons/sale_purchase/models/sale_order.py.

> That prepares the data used to create the POL.

> 

> Thanks

> Daniel

> 

> On 13/11/2020 14:37, Radovan Skolnik

> wrote:

> 

> 

> 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 [2]

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

> 

> 

> 

> 

> _______________________________________________

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

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

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

> 

> 

> 

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

> [2] mailto:contributors@odoo-community.org

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

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

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




Reference