Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1347 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
bře 16
8633
3
kvě 25
1707
1
dub 25
1272
3
zář 24
14161
2
úno 24
2461