Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
265 Vizualizări

hello 

how can i disable edit on sale order for specific user 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

To disable editing of Sales Orders for specific users in Odoo, the recommended approach is to use access control lists (ACLs). You can create a new security group (e.g., “Read Only Sales Orders”), remove write, create, and delete permissions for the sale.order model in ACLs, and assign this group to the users you want to restrict. This allows them to view sales orders but prevents any modifications.


For finer control, you can use record rules to restrict users to only read their own sale orders. This involves creating a record rule on sale.order with a domain filter like [('user_id', '=', user.id)] and enabling read-only access.

Alternatively, you can hide the Edit button in the UI using Studio or XML view customization, but this is only a visual restriction and should be combined with ACLs for full protection. These approaches can be used individually or together to control who can edit sales orders in Odoo.


Hope it helps

Imagine profil
Abandonează
Autor Cel mai bun răspuns

restict the usser to update products on sale order


Imagine profil
Abandonează
Cel mai bun răspuns

Hello,

It depends on what you want to restrict the user from accessing. You can manage this by configuring Access Rights and Record Rules in Odoo.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
nov. 24
2361
1
sept. 25
628
1
mai 25
1429
1
ian. 25
2007
1
nov. 24
2401