Community mailing list archives

community@mail.odoo.com

Re: how to disable record rule in ODOO

by
Serpent Consulting Services Pvt. Ltd., Jay Vora
- 12/30/2015 13:58:14
To remove any xml record, use <delete> command.

<delete id=xmlid model=model>.

Thanks,
Regards,
Jay Vora.
Serpent Consulting Services Pvt Ltd.
M : 091-9879354457


-------- Original Message --------
From:nikul patel <nikideveloper100@gmail.com>
Sent:Wed, 30 Dec 2015 23:43:16 +0530
To:Community <community@mail.odoo.com>
Subject:how to disable record rule in ODOO

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>

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe