Hi everyone,
I'm using Odoo 10 and try to customize a view in my module.
My code:
<record id="view_calendar_event_form_popup" model="ir.ui.view">
<field name="name">calendar.event.form</field>
<field name="model">calendar.event</field>
<field name="inherit_id" ref="calendar.view_calendar_event_form_popup"/>
<field name="priority" eval="2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='alarm_ids']" position="after">
<field name="delete_series" attrs="{'invisible': [('recurrency', '=', False)]}"/>
</xpath>
</field>
</record>
But when opening the form, I got this error:
Uncaught Error: Unknown field recurrency in domain [["recurrency","==",false]]
And I'm sure that the field 'recurrency' is existing in the object 'calendar.event'
Did I make something wrong?
Thank you.
Please do not mix questions.