odoo-usability
odoo-usability copied to clipboard
[12.0]stock_user_default_warehouse_purchase seems to not get the correct value from context in multi company
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