Commits

Raimon Esteve (Zikzakmedia) committed f6eb72f

Dissable rules access read/write users because cron users is not active and can't read/write

Comments (0)

Files changed (1)

electronic_mail.xml

       <field name="perm_create" eval="False"/>
       <field name="perm_delete" eval="False"/>
     </record>
+<!--
     <record model="ir.rule" id="rule_group_read_mail_line1">
       <field name="field" 
         search="[('name', '=', 'mailbox_owner'), ('model.model', '=', 'electronic.mail')]"/>
       <field name="operand">User</field>
       <field name="rule_group" ref="rule_group_read_mail"/>
     </record>
+-->
 
     <!-- Rule to write emails -->
     <record model="ir.rule.group" id="rule_group_write_mail">
       <field name="perm_create" eval="True"/>
       <field name="perm_delete" eval="True"/>
     </record>
+<!--
     <record model="ir.rule" id="rule_group_write_mail_line1">
       <field name="field" 
         search="[('name', '=', 'mailbox_owner'), ('model.model', '=', 'electronic.mail')]"/>
       <field name="operand">User</field>
       <field name="rule_group" ref="rule_group_write_mail"/>
     </record>
+-->
   </data>
 </tryton>