Created on 2021-05-12.14:53:10 by pokoli, last changed 1 week ago by ced.
Indeed I think it should be solved by issue10557.
Could you provide the traceback of the error message?
We create a purchase for COMPANY A, while the user being at COMPANY B (but having also access to company A).
When processing the purchase, the system complaints about a Wrong account, because it is selecting the product account's for COMPANY B (the user one) instead of using the one for the purchase company.
I guess the problem is that related to the fact that the purchase is processed in the queue so using the company from the user context instead of the purchase one.
status: need-eg -> testing
superseder: + Use instance context to get account
nosy: + ced
status: unread -> need-eg