[FIX] Case sections were not able to take parent sections
bzr revid: jvo@tinyerp.com-20090211093548-499hgwso566xtuo3
This commit is contained in:
parent
1d3ec352dd
commit
c5943171d6
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue