コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1419 ビュー

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?

アバター
破棄
関連投稿 返信 ビュー 活動
3
3月 16
8742
3
5月 25
2023
1
4月 25
1510
3
9月 24
14548
2
2月 24
2655