Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] product_cost_usd: order in recompute purchase price I#26616 #1675

Merged

Conversation

xmglord
Copy link
Contributor

@xmglord xmglord commented Jul 8, 2024

The sale_stock_margin module recomputes the purchase price in sale
order lines and calls super() only over the lines without a stock
move related to it. This causes this module to not recompute the lines
with stock moves related, leading to incorrect computation of the
purchase price.

This commit adds the sale_stock_margin module as a dependency in
order to first run this module compute.

@luisg123v luisg123v requested a review from allanpa88 July 8, 2024 23:24
The `sale_stock_margin` module recomputes the purchase price in sale
order lines and calls `super()` only over the lines without a stock
move related to it. This causes this module to not recompute the lines
with stock moves related, leading to incorrect computation of the
purchase price.

This commit adds the `sale_stock_margin` module as a dependency in
order to first run this module compute.
@xmglord xmglord force-pushed the 15.0-consider_new_modules-xmglord branch from 1e5d818 to c226c98 Compare July 8, 2024 23:43
@xmglord xmglord changed the title [IMP] product_cost_usd: compute purchase price when pickings are created I#26616 [FIX] product_cost_usd: order in recompute purchase price I#26616 Jul 8, 2024
@xmglord
Copy link
Contributor Author

xmglord commented Jul 8, 2024

@JulioSerna please review.

cc: @desdelinux

@JulioSerna JulioSerna merged commit b0e79d2 into Vauxoo:15.0 Jul 8, 2024
3 checks passed
@JulioSerna JulioSerna deleted the 15.0-consider_new_modules-xmglord branch July 8, 2024 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants