Skip to content
Snippets Groups Projects
Commit efcb7f49 authored by Goffin Simon's avatar Goffin Simon Committed by Adrien Widart
Browse files

[FIX] mrp: Wrong production location in multi company


Steps to reproduce the bug:

- Let's consider two companies C1 and C2
- Let's consider two production locations L1 in C1 and L2 in C2
- Let's consider that the company of SUPERUSER is C1
- Add the field Production location in the form view of mrp.production
- Log in C2
- Create a product P with a BOM in C2 with L2 as production location
- Create a MO for P

Bug:

The production location of P was L1 instead L2

PS: related_sudo is set to True by default.

opw:2196707

closes odoo/odoo#45307

closes odoo/odoo#77334

Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
parent 08f7420c
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