level -= 1
return True
_constraints = [
- (_check_recursion, 'Error ! You can not create recursive sections.', ['parent_id'])
+ (_check_recursion, 'Error ! You cannot create recursive sections.', ['parent_id'])
]
# Mainly used by the wizard
<field name="sequence"/>
<field name="active" select="2"/>
<field name="user_id" select="2"/>
- <field name="parent_id" select="2" domain="[('id', '!=', active_id)]"/>
+ <field name="parent_id" select="2"/>
<field name="reply_to" select="2"/>
<label colspan="2" string="Complete this if you use the mail gateway."/>
</page>