[FIX] Case sections were not able to take parent sections

bzr revid: jvo@tinyerp.com-20090211093548-499hgwso566xtuo3
This commit is contained in:
Jay (Open ERP) 2009-02-11 15:05:48 +05:30
parent 1d3ec352dd
commit c5943171d6
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ class crm_case_section(osv.osv):
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

View File

@ -34,7 +34,7 @@
<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>