Skip to content
Snippets Groups Projects
Commit 3f777d43 authored by Brice bib Bartoletti's avatar Brice bib Bartoletti
Browse files

[FIX] stock_account:make cogs multi_company safe


The aim of this commit is to make the cogs generation multi-company
safe.

Before this commit:
When posting an invoice from company B with both company A and B
selected and A being selected as "main", the cost from company A could
be selected instead of cost from company A to create the anglosaxon
lines.

After this commit:
Whatever the selected companies are, the cost selected will always be from
the company that created the invoice.

closes odoo/odoo#79674

Task: #2686104
Signed-off-by: default avatarLaurent Smet <las@odoo.com>
parent e4345c81
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment