# -*- coding: utf-8 -*-
from odoo import api, fields, models
class DHAMSRFSTeam(models.Model):
_inherit = "sale.report"
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
dham_module_srfst_sa,view.sale.report,model_sale_report,sales_team.group_sale_salesman_all_leads,1,1,1,0
dham_module_srfst_sm,view.sale.report,model_sale_report,sales_team.group_sale_salesman,1,1,1,0
This code doesn't enable "Sales->Reports->Sales" for user "User: Own Documents Only" and "User: All Documents".
I must use codes to enable it.
Thanks in advance