diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-10-08 12:12:41 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-10-08 14:30:48 +0000 |
| commit | 05b55c11732d3ee06a266c3e11c0e7afc75bc3c8 (patch) | |
| tree | 4328e688cfa58bdc938e03d963228f4f14a4b506 /addons/website/static | |
| parent | 917e4c67b4aa14ca71ec6cba4bc6d20a86459f42 (diff) | |
[FIX] point_of_sale: check session in right company
- Create companies A & B
- Switch to company B
- Open a POS session in company B, but do not close it
- Switch to company A
- Set a Lock Date for Non-Advisers
The error message 'Please close all the point of sale sessions...' is
raised.
The message shouldn't be raised since the session is not in the company
we are setting a lock date.
We filter the session based on the company.
opw-2351930
closes odoo/odoo#59526
X-original-commit: a1445bf45fadf21a4af5dd2791efda4a4450a825
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/website/static')
0 files changed, 0 insertions, 0 deletions
