summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorAlex Tuyls <alt@odoo.com>2019-03-07 12:18:23 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-04-10 13:40:54 +0000
commit49eb24a46771792bec454f6c4693c19d2b5b05b6 (patch)
treed59b0c89e7e7171824e6ee82e7bd6c44c0e53b05 /addons/web/static/src/js/views/basic
parentf1d0f2ada5e261a4f995f30da4cc0ba1cb4f2215 (diff)
[FIX] account, sale_timesheet: access rights when validating invoice
When validate an invoice, if the user is member of the timesheet user group and the billing user group, it is forbidden to create an analytic line without a project set. The previous commit (81218a8) allow the user to create an analytic account line by adding a record rule in the sale_timesheet module. If only the account and timesheet modules' are installed, before this commit, an error was raised when trying to validate an invoice in the account module. This issue occurs because the record rule to allow the user to create an analytic account line is found in sale_timesheet module, and this one is not installed. As an invoice can be validated without the need of the sales module's, from the purchase module, or directly in the account module. In this commit, the record rule was move to the account module. opw-1948132 closes odoo/odoo#31661 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions