Skip to Content
Menu
This question has been flagged
1 Reply
2486 Views

Hi,

i have an issue with validating an invoice on odoo 11. If the invoice is based on a project with time sheet the user is not able to validate the invoice. If the invoice is based on ordered quantities the user is able to validate the invoice. The error message i receive is the follwing:

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: account.analytic.line, Operation: read)


As an additional information he admin user is able to validate the invoice which is based on timesheet and projects

in the log file i can find the following information

 The requested operation cannot be completed due to record rules: Document type: account.analytic.line, Operation: read, Records: 567, User: 6

Avatar
Discard
Best Answer

Did you manage to get a fix for this? I'm also getting this issue and I haven't touched the ACL or Records settings.

update:

So I've found the issue for me was;

Under Records Rules

Name: account.analytic.line.timesheet.manager

Object: Analytic Line

Rule Definition: [('project_id', '!=', False)]

Group Name: Timesheets/Manager


The Read permission should be unchecked, mine was checked

Avatar
Discard