Skip to Content
Menu
This question has been flagged
2 Replies
4518 Views

Hello ,

I need to create a portal user, he can able to see all the sale order, but he cant able to delete that sale order. And he can create a new sale order.How it is possible? i searched the odoo forum but i didnt get any proper solution to do that. Anybody have idea to do it??

Thanks

Logicious

Avatar
Discard

ididnt do it before sorry

Best Answer

Logicious,

You can apply this requirement at group level only

for this, either you can create an new group same as portal user group(you can duplicate that group) and in the access rights, for sale.order mark as false for delete access ,

or in portal user group only, update the delete access for sale.order to false.

By applying the access at group level all the users in that group will be affected.

so if you want to apply this for your particular user, then you can go with first option, other wise you can go with second one.

Hope it helps

Avatar
Discard
Author

@pawan:- Thank you pawan. i will try it.

Author

pawan, i have one doubt , in the case of portal users, they can't able to saw the other sales orders , so how can i change that property alone??

logicious,
it must be because of these access rules:
sale.order - "Portal Personal Quotations/Sales Orders"
sale.order.line - " Portal Sales Orders Line "
You can inactive them to check ..

Author

@pawan:-" pawan is there any documents regarding that?

regarding the rules? which rule is assigned to which group?? no, u have to go through particular group and look for the rules applied...
if you are looking for "how to work with Rules" then you can refer:
https://www.odoo.com/forum/how-to/developers-13/setting-up-rules-access-right-in-xml-csv-files-12667
or go through the Odoo document : https://www.odoo.com/documentation/8.0/reference/security.html

Author

@pawan :-thank you pawan