Skip to Content
मेन्यू
This question has been flagged
1348 Views

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
Discard
Related Posts Replies Views Activity
3
मार्च 16
8635
3
मई 25
1720
1
अप्रैल 25
1283
3
सित॰ 24
14171
2
फ़र॰ 24
2468