İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
70 Görünümler

when my one user click on one my category he sees ...

403: Forbidden

The page you were looking for could not be authorized.

Error message:

You are not allowed to access 'Product ribbon' (product.ribbon) records.

This operation is allowed for the following groups:
	- Sales/Administrator
	- Role / Member

Contact your administrator to request access if necessary.

pease give me slution....

Avatar
Vazgeç
En İyi Yanıt

Hi,

You’re logged in as a normal Sales User rather than a Sales Administrator. Odoo restricts access to Product Ribbon records, allowing only users in the Sales/Administrator group or the Role / Member group to read or modify them. When you try to open or save a product, Odoo attempts to access the related ribbon field, but because your user doesn’t have the required permissions, the operation is blocked and the system shows the access error.

To fix this, you can either add your user to one of the allowed groups, such as Sales Administrator, or extend read access to normal users by updating the ir.model.access.csv file to grant read-only permissions for the product.ribbon model. If you are not using ribbons, another option is to hide or remove the ribbon field from the product form view to prevent Odoo from checking access.

Avatar
Vazgeç
En İyi Yanıt

Hello Nilesh,

Please check below record in security/ir.model.access.csv file in your custom module.

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

base.group_user,0,0,0,0(this is only example)

Hope it helps..

Avatar
Vazgeç