← Back to team overview

openerp-india team mailing list archive

[Bug 1201607] Re: Record Rule: Project/Phase: portal users: public or portal and following

 

** Changed in: openobject-addons
       Status: Expired => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1201607

Title:
  Record Rule: Project/Phase: portal users: public or portal and
  following

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Invalid field "message_follower_ids" & "user_id" when accessing
  projects as portal user.

  I am new to OpenERP, so not sure if I've misconfigured something.

  Changed to reference "project_id.message_followers_ids" and "project_id.user_id" and seems to work.
   

  ['|',
                                              ('project_id.privacy_visibility', '=', 'public'),
                                              '&',
                                                  ('project_id.privacy_visibility', 'in', ['portal', 'followers']),
                                                  '|',
                                                      ('project_id.message_follower_ids','in', [user.partner_id.id]),
                                                      ('project_id.user_id', '=', user.id),
                                          ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1201607/+subscriptions