From 1a79e4ee71c20e4d36cc7b5dc669fe5f6b073966 Mon Sep 17 00:00:00 2001 From: SerpentCS Date: Thu, 29 Sep 2016 14:46:49 +0530 Subject: [PATCH 1/2] [IMP] added domain in ou field --- crm_operating_unit/tests/test_crm_operating_unit.py | 4 ++-- crm_operating_unit/views/crm_lead_view.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crm_operating_unit/tests/test_crm_operating_unit.py b/crm_operating_unit/tests/test_crm_operating_unit.py index e82929c141..cc78d3f254 100644 --- a/crm_operating_unit/tests/test_crm_operating_unit.py +++ b/crm_operating_unit/tests/test_crm_operating_unit.py @@ -6,10 +6,10 @@ from openerp.tests import common -class TestPurchaseOperatingUnit(common.TransactionCase): +class TestCrmOperatingUnit(common.TransactionCase): def setUp(self): - super(TestPurchaseOperatingUnit, self).setUp() + super(TestCrmOperatingUnit, self).setUp() self.res_users_model = self.env['res.users'] self.crm_lead_model = self.env['crm.lead'] # Groups diff --git a/crm_operating_unit/views/crm_lead_view.xml b/crm_operating_unit/views/crm_lead_view.xml index e5df1da8d4..23343fc3d0 100644 --- a/crm_operating_unit/views/crm_lead_view.xml +++ b/crm_operating_unit/views/crm_lead_view.xml @@ -12,8 +12,7 @@ - - + @@ -48,7 +47,8 @@ - + + From 8782300c324e46e7567d70be9f3d644f03f8644e Mon Sep 17 00:00:00 2001 From: SerpentCS Date: Fri, 30 Sep 2016 11:16:10 +0530 Subject: [PATCH 2/2] [IMP] minor changes --- crm_operating_unit/views/crm_lead_view.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crm_operating_unit/views/crm_lead_view.xml b/crm_operating_unit/views/crm_lead_view.xml index 23343fc3d0..0c1e65829b 100644 --- a/crm_operating_unit/views/crm_lead_view.xml +++ b/crm_operating_unit/views/crm_lead_view.xml @@ -12,7 +12,8 @@ - + +