From 64eceedcb9a9cbbe9e56af23eea46f74b72b4956 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Mon, 6 May 2013 10:00:16 +0200 Subject: [PATCH] [IMP] crm_case_section: quarter in selection field bzr revid: chm@openerp.com-20130506080016-1336mjc2212wyauj --- addons/crm/crm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 352a1493c1d..93831e50d91 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -45,15 +45,15 @@ AVAILABLE_PRIORITIES = [ DURATION_TXT = { "monthly": _("month"), + "quarterly": _("quarter"), "semesterly": _("semester"), - "semiannually": _("semi"), "annually": _("year") } MONTHS = { "monthly": 1, - "semesterly": 3, - "semiannually": 6, + "quarterly": 3, + "semesterly": 6, "annually": 12 } @@ -190,7 +190,7 @@ class crm_case_section(osv.osv): 'use_leads': fields.boolean('Leads', help="This enables the management of leads in the sales team. Otherwise the sales team manages only opportunities."), - 'target_duration': fields.selection([("monthly", "Monthly"), ("semesterly", "Semesterly"), ("semiannually", "Semiannually"), ("annually", "Annually")], + 'target_duration': fields.selection([("monthly", "Monthly"), ("quarterly", "Quarterly"), ("semesterly", "Semesterly"), ("annually", "Annually")], string='Report Duration View', required=True), 'target_duration_txt': fields.function(_get_target_duration_txt, string='Duration',