From 83be9958bb217b0969ff68cdaf39677e5a738560 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Tue, 19 Jan 2010 19:51:05 +0530 Subject: [PATCH] [IMP]CRM: Set deadline field required true for crm_opportunity_wizard bzr revid: sbh@tinyerp.com-20100119142105-gg0mgakvdwgepca0 --- addons/crm/wizard/crm_opportunity_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/wizard/crm_opportunity_wizard.py b/addons/crm/wizard/crm_opportunity_wizard.py index f72491c57e6..3a01fde870c 100644 --- a/addons/crm/wizard/crm_opportunity_wizard.py +++ b/addons/crm/wizard/crm_opportunity_wizard.py @@ -46,7 +46,7 @@ class opportunity2phonecall(wizard.interface): case_fields = { 'user_id' : {'string' : 'Assign To', 'type' : 'many2one', 'relation' : 'res.users'}, - 'deadline' : {'string' : 'Planned Date', 'type' : 'datetime'}, + 'deadline' : {'string' : 'Planned Date', 'type' : 'datetime' ,'required' :True}, 'note' : {'string' : 'Goals', 'type' : 'text'}, 'category_id' : {'string' : 'Category', 'type' : 'many2one', 'relation' : 'crm.case.categ', 'required' :True}, 'section_id' : {'string' : 'Section', 'type' : 'many2one', 'relation' : 'crm.case.section'},