Se rendre au contenu
Menu
Cette question a été signalée
1418 Vues

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
Ignorer
Publications associées Réponses Vues Activité
3
mars 16
8742
3
mai 25
2016
1
avr. 25
1508
3
sept. 24
14545
2
févr. 24
2653