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] mrp: Wrong production location in multi company #77334

Closed
wants to merge 1 commit into from

Conversation

adwid
Copy link
Contributor

@adwid adwid commented Sep 28, 2021

Manual backport of #45307

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

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#45307

Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
@adwid
Copy link
Contributor Author

adwid commented Sep 28, 2021

@fw-bot ignore

@robodoo
Copy link
Contributor

robodoo commented Sep 28, 2021

@fw-bot
Copy link
Contributor

fw-bot commented Sep 28, 2021

Forward-port disabled.

@C3POdoo C3POdoo requested a review from a team September 28, 2021 13:16
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Sep 28, 2021
@adwid
Copy link
Contributor Author

adwid commented Sep 30, 2021

@amoyaux

@amoyaux
Copy link
Contributor

amoyaux commented Sep 30, 2021

robodoo r+

robodoo pushed a commit that referenced this pull request Sep 30, 2021
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 #45307

closes #77334

Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
@robodoo robodoo closed this Sep 30, 2021
@robodoo robodoo temporarily deployed to merge September 30, 2021 15:04 Inactive
@adwid adwid deleted the 12.0-OPW-2632221-mrp_backport-awt branch October 1, 2021 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants