From c5943171d67e1e648f1e50be60a6c431321e5824 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" <jvo@tinyerp.com> Date: Wed, 11 Feb 2009 15:05:48 +0530 Subject: [PATCH] [FIX] Case sections were not able to take parent sections bzr revid: jvo@tinyerp.com-20090211093548-499hgwso566xtuo3 --- addons/crm/crm.py | 2 +- addons/crm/crm_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 4364965cce65..f634475d942b 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -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 diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml index feb9fd79d234..103682624b90 100644 --- a/addons/crm/crm_view.xml +++ b/addons/crm/crm_view.xml @@ -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> -- GitLab