purchase-workflow icon indicating copy to clipboard operation
purchase-workflow copied to clipboard

Landed cost Not working

Open odoo-consultant-msr opened this issue 1 year ago • 3 comments

Module

The name of the module that has a bug. Landed cost application to stock move is not working.

Describe the bug

A clear and concise description of what the bug is. I have created purchase cost distribution with incoming shipment and applying landed cost vendor bill line. Once confirmed, it is not passing any landed cost to stock.

To Reproduce

Affected versions:

Steps to reproduce the behavior: 1. Odoo-My-Pro1-12-01-2024_11_46_AM Odoo-PEx004-12-01-2024_11_45_AM (1)

Odoo-PEx004-12-01-2024_11_45_AM

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here. (e.g. OS, Python version, ...)

odoo-consultant-msr avatar Dec 01 '24 06:12 odoo-consultant-msr

Hi, I see a similar error.

  1. I make a purchase, validate the delivery note, and create the "landed cost" (the product is configured as AVCO). Image

Image

Image

  1. I distribute the cost with a customs expense, and while the distribution is performed, it does not update in the product record.

Image

Image

Image

Image

Image

AinohaBH avatar Mar 11 '25 10:03 AinohaBH

It looks like this is happening since MIG-13.0 all the logic on validation and cancel was removed in the next commit: https://github.com/OCA/purchase-workflow/commit/5400ebf4258bb54fc0c761275d76c21a6d1f841e#diff-b357cd22d9fcbd815729c8b7fabd8fc0db97c4daa38c7b8adffada6180eccf67L307-L329 Sorry to bother you @pedrobaeza, is your team going to work on bringing that functionality back? Otherwise we can work on it.

We don't plan to make any change, as we have this module as something marginal only for gathering data, but if you want to add that part, it's welcome.

pedrobaeza avatar Mar 11 '25 18:03 pedrobaeza