Skip to content
Snippets Groups Projects
Commit 8d97b3b6 authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] stock_account: Multicompany wrong cost in picking validation


Steps to reproduce:
- 2 Companies Parent A, and Child B
- Create a Stockable Product FIFO/automated,
- In A leave cost as 0, in B give cost of 10
- Create an SO for product in company B
- Logged into Parent A, validate the picking for Child B

Behavior before the fix:
An error was raised saying: Error cost of 0 (but the SO had been created in B, so the price had to be 10.)

Behavior after the fix:
Now the cost of the company B is taken.

closes #32329

opw:1966322

closes odoo/odoo#32615

Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
parent 77a24111
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment