Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1380 Vizualizări

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?

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
mar. 16
8677
3
mai 25
1833
1
apr. 25
1370
3
sept. 24
14317
2
feb. 24
2540