summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2020-01-21 10:47:04 +0000
committerLaurent Smet <las@odoo.com>2020-01-28 08:18:10 +0000
commit62ae169dfb878d3cbd06f6926e761928cc9388cf (patch)
tree767bf63fb5cd51fe51d43cce68dfbb4f5fda7920 /addons/web/static/src/js/fields/basic_fields.js
parentefa60a1538905cd34a1a47939ea0ff8339f214ba (diff)
[FIX] account, sale: Fix account.move (invoices) access rights
Without any access rights on the 'account' module, a salesperson should be able to create a new invoice from a sale order. Since the merge of account.invoice with account.move, we need to manage carefully the access rights when dealing with invoices. A salesperson must not be able to manage the journal entries except the one being an invoice created for a sale order. To make such restriction on the journal entry's type, we need additional record rules - in sale: to restrict the access to invoices. - in account: to exit such restrictions when having billing access rights. closes odoo/odoo#44023 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions