This question has been flagged
2 Replies
5912 Views

I am attempting to places our sales team into the Application: Sales / Name: "User: Own Documents Only". The reason for this is because if their user name is set up as Application: Sales / Name: Manager, there are too many ways to allow the Salesperson to delete and create items on different platforms of the CRM, Sales, and Purchasing. Currently if the user Sales Application is setup by "Name: User: Own Documents Only", they aren't allowed to save an item in the quotation. I get an error message stating: 

Error while validating constraint

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

(Document type: sale.order.line, Operation: read)
None  

However, the 'Access Rights' for 'User: Own Documents Only' state the Sales Order Line has read, write, and create access. The only access it doesn't have checked is delete for that object. Any guidance? Is this hardcoded into the HTML code or is it simply checking these boxes?  


Avatar
Discard

Users with "Sales / Own Documents Only" should be able to create and update Quotations and Sales orders. You should check the Record Rules for Sales Order Line.

Best Answer

User's having access 'User: Own Documents Only can read write,create or delete draft order created by them only. It will not allow them to access or read any data of other user.

If user has sales manager access they can manage other user records as well. You need to check record rule from setting->technical->Record rule 

Avatar
Discard