1. zikzakmedia
  2. trytond-electronic_mail

Commits

Raimon Esteve  committed f6eb72f

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

  • Participants
  • Parent commits cf72ee7
  • Branches default

Comments (0)

Files changed (1)

File electronic_mail.xml

View file
  • Ignore whitespace
       <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>