diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-07-30 13:19:04 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-07-30 15:56:11 +0000 |
| commit | 7eaf4f3e3612f405f5b9fb22b6d8f770887e70c1 (patch) | |
| tree | 6694f4dce50d9c9d3e32bd53aa2eba03e31e6eec /addons/mail/static/src/models/messaging_initializer/messaging_initializer.js | |
| parent | 6fd1855f37cf5e221f8d11e276135d0ac705bbb7 (diff) | |
[FIX] point_of_sale: access error at closing
- Set the following access rights to a user A:
Point of Sale: User
Invoicing: Billing
Inventory: User
- Create a product P, FIFO + Automated
- Add some stock for P
- As user A, open the POS
- Sell one unit of P
- Close the POS and validate entries
An access error is raised because the user doesn't have the right to
read the `stock.valuation.layer` object.
We can retreive the value as `sudo` in this case.
opw-2305446
closes odoo/odoo#55224
X-original-commit: d3147910e031253ddb172959e9016a0f326d7cdb
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/messaging_initializer/messaging_initializer.js')
0 files changed, 0 insertions, 0 deletions
