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

Used company not applied on purchase_blanket_order #2239

Open
odooexperts-consultants opened this issue Apr 16, 2024 · 0 comments
Open

Used company not applied on purchase_blanket_order #2239

odooexperts-consultants opened this issue Apr 16, 2024 · 0 comments
Labels

Comments

@odooexperts-consultants

Module

purchase_blanket_order

Describe the bug

When you have a multi company environment and create a blanket order record in Company B, it sets Company A as the company on the blanket order instead of Company B. ITs taking the default company from the user instead of the company that is active.

To Reproduce

15

Steps to reproduce the behavior:

  1. Create Company A, B and C. With the sequence A = 1, B =2 and C=3 and set company A as default company on the user.
  2. Go to company B
  3. Create blanket order record.

I made a video from the database here:
https://drive.google.com/file/d/1zl9U9DUhKVcV_xurS3nuSVE_K-ABOlHJ/view

Expected behavior
In this case I expect that the company applied on the blanketorder is company B because im creating the record from Company B.
Instead it applies company A because of the user setting

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant