summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2012-09-12 15:35:37 +0200
committerRaphael Collet <rco@openerp.com>2012-09-12 15:35:37 +0200
commitfa91789a52590870dfcd313bef75c114f8d2eb43 (patch)
treef8de12da64ac01f5cb670324ad79fa005a000c5d
parent26d162e80f2f714ab0845ea8346eceebb1f487eb (diff)
[IMP] crm: rename 'state' into 'related status' on stages
bzr revid: rco@openerp.com-20120912133537-pml9ft4rf9eba272
-rw-r--r--addons/crm/crm.py4
-rw-r--r--addons/crm/crm_view.xml2
2 files changed, 4 insertions, 2 deletions
diff --git a/addons/crm/crm.py b/addons/crm/crm.py
index b862e977c9a..aff2bcb610b 100644
--- a/addons/crm/crm.py
+++ b/addons/crm/crm.py
@@ -75,7 +75,9 @@ class crm_case_stage(osv.osv):
'requirements': fields.text('Requirements'),
'section_ids':fields.many2many('crm.case.section', 'section_stage_rel', 'stage_id', 'section_id', string='Sections',
help="Link between stages and sales teams. When set, this limitate the current stage to the selected sales teams."),
- 'state': fields.selection(AVAILABLE_STATES, 'State', required=True, help="The related status for the stage. The state of your document will automatically change regarding the selected stage. For example, if a stage is related to the state 'Close', when your document reaches this stage, it will be automatically have the 'closed' state."),
+ 'state': fields.selection(AVAILABLE_STATES, 'Related Status', required=True,
+ help="The status of your document will automatically change regarding the selected stage. " \
+ "For example, if a stage is related to the state 'Close', when your document reaches this stage, it is automatically closed."),
'case_default': fields.boolean('Common to All Teams',
help="If you check this field, this stage will be proposed by default on each sales team. It will not assign this stage to existing teams."),
'fold': fields.boolean('Hide in Views when Empty',
diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml
index 8fa3927beea..4f4d73d5f43 100644
--- a/addons/crm/crm_view.xml
+++ b/addons/crm/crm_view.xml
@@ -183,7 +183,7 @@
<form string="Stage" version="7.0">
<group col="4">
<field name="name"/>
- <field name="state" string="Related Status" />
+ <field name="state" />
<field name="probability"/>
<field name="type"/>
<field name="on_change"/>