Skip to Content
Menú
This question has been flagged
1314 Vistes

We have created a module with this code:

from openerp import models, fields, api

class eb_limittag(models.Model):

         _inherit = 'project.task' tag_ids = fields.Many2many('project.tags', string='Tags', oldname='categ_ids',read_rule="[('members', '=', user.id)]",write_rule="[('manager_id', '=', user.id)]")


So now we want to apply this rule for Sales and for HR module too but we are getting stuck. 

Any help?

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de març 16
8600
3
de maig 25
1592
1
d’abr. 25
1208
3
de set. 24
14047
2
de febr. 24
2389