Community mailing list archives
Re: push delivery date from PO to SOby
Pedro M. Baeza
I would create a new date at sale order line level for handling such things, and add the logic for a correct computation of this date, because the rest is very confusing for putting in order.Regards.
2015-07-29 18:08 GMT+02:00 Leonardo Pistone <firstname.lastname@example.org>:
Hi, has anyone found a good way to manage a change of delivery date from an existing PO to a linked (MTO) SO in v8? The use case is a supplier calls in to say that a product will be available in a month, and I want this change in the POL to affect the sale. I found the following: - the (POL) has a date_planned field, which is written to the date_expected of the created move on the validation of the PO - this is not propagated on subsequent updates of a confirmed PO. A new module could do that - changing the date_expected of a move propagates the date delta to chained moves. This is a new feature in v8. So far so good. Once we get to the SO, things get confusing to me. The sale_order_dates module adds three new date fields to the SO: commitment_date, requested_date and effective date. The latter could be what I want, but: - it is a field on the SO, while probably that should be on the SOL - strangely enough, it checks the creation date of the picking, not the expected date Hence, this flow doesn't work. Does anyone know how to handle it? Thanks!