summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-10-09 08:15:53 +0000
committerNicolas Martinelli <nim@odoo.com>2018-10-09 08:22:12 +0000
commitc576800813c1bb87c3f90ba768674b3ba128ed89 (patch)
tree853c7a0d7a9460f952223560f83fd6d290e9b69e /addons/web/static/src/js/fields/basic_fields.js
parenta4e46846d73ea042731eecdb47322c206968a32e (diff)
[FIX] hr_expense: AccessError on product
- Install hr_expense and stock. - Add enough products which can be expensed so that a 'Search More...' option is proposed. - Restrict the rights of a user U to 'Employee' only. - As U, create an expense, and click on the 'Search More...' option when choosing the product An AccessError is raised on `stock.move`. The error is due to fields `qty_available` and `virtual_quantity`. These fields are not necessary in that context, so we define a specific tree view for this use case. opw-1891399 closes odoo/odoo#27561
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions