Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1480 Widoki

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
mar 16
8864
3
maj 25
2246
1
kwi 25
1713
3
wrz 24
14863
2
lut 24
2779