purchase_landed cost: product standard prices are never updated
Hi all there:
I've seen purchase_landed_cost code and I've noticed that in migration to version 13.0 and 16.0 some piece of code is missed and method _product_price_update never is run: https://github.com/OCA/purchase-workflow/blob/16.0/purchase_landed_cost/models/purchase_cost_distribution.py#L257
So standard prices of products in a distribution are not updated.
In v12.0 this method is run when user make as done the distribution: https://github.com/OCA/purchase-workflow/blob/12.0/purchase_landed_cost/models/purchase_cost_distribution.py#L263-L284
An when user cancel distribution: https://github.com/OCA/purchase-workflow/blob/12.0/purchase_landed_cost/models/purchase_cost_distribution.py#L292-L320
This code is not present in 13.0 and 16.0 versions
There is no tests to check if product standard prices are updated in both versions.
Is this possible?
I ping to developers that done migration PRs and to Pedro Baeza that approved these prs.
@ernestotejeda @carolinafernandez-tecnativa @pedrobaeza
Thanks.
Yes, we didn't handle that (it's in the ROADMAP) because our use case was only to log landed costs.
So we need to add custom code in order to make work this module? Or you are just waiting for someone to do it?