Community mailing list archives

community@mail.odoo.com

how to disable record rule in ODOO

by
nikideveloper100
- 12/30/2015 13:10:19
hello every one , can any one help me about record rule.


How you can remove record that is already define in base module


  <record id="calendar_event_global" model="ir.rule">
        <field name="name">Hide Private Meetings</field>
        <field ref="model_calendar_event" name="model_id"/>
        <field eval="1" name="global"/>
        <field name="domain_force">['|',('user_id','=',user.id),('show_as','=','busy')]</field>
    </record>