Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[12.0]stock_user_default_warehouse_purchase seems to not get the correct value from context in multi company #141

Open
flotho opened this issue Mar 1, 2021 · 0 comments

Comments

@flotho
Copy link

flotho commented Mar 1, 2021

Hi @alexis-via

Ine multi company and multi warehouse, set up the user with a single value for only one company.
Switch to the second company
On this line https://github.com/akretion/odoo-usability/blob/14.0/stock_user_default_warehouse_purchase/models/purchase.py#L13 the warehouse found belongs to the first company.
It looks like the context is set with the first value read. Do you think it could be possible ?

Regards

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

No branches or pull requests

1 participant