Vijaykumar Baladaniya has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1048995-vba into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1048995-vba/+merge/125703

Hello Sir,

    I have improve the code to crm_meeting and crm_sequrity to fix the 
AccessError when trying to get a list of the Event Invitations. Kindly review 
the code.

Thanks,
 vba
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1048995-vba/+merge/125703
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1048995-vba.
=== modified file 'base_calendar/crm_meeting_view.xml'
--- base_calendar/crm_meeting_view.xml	2012-09-20 07:38:24 +0000
+++ base_calendar/crm_meeting_view.xml	2012-09-21 13:09:13 +0000
@@ -303,6 +303,7 @@
         <field name="view_id" ref="view_crm_meeting_calendar"/>
         <field name="search_view_id" ref="view_crm_meeting_search"/>
         <field name="context">{"calendar_default_user_id": uid}</field>
+        <field name="domain">['|',('user_id','=',uid),('show_as','=','busy')]</field>
         <field name="help" type="html">
           <p class="oe_view_nocontent_create">
             Click to schedule a new meeting. 

=== modified file 'crm/security/crm_security.xml'
--- crm/security/crm_security.xml	2012-09-16 14:45:29 +0000
+++ crm/security/crm_security.xml	2012-09-21 13:09:13 +0000
@@ -58,6 +58,7 @@
         <field ref="model_crm_meeting" name="model_id"/>
         <field eval="1" name="global"/>
         <field name="domain_force">['|',('user_id','=',user.id),('show_as','=','busy')]</field>
+        <field name="perm_read" eval="False"/>
     </record>
 
     </data>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to