summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-06-20 14:34:38 +0200
committerThibault Delavallée <tde@openerp.com>2014-06-20 14:34:38 +0200
commite57fdc074e4c81d6d3f2817c0f49ce5116dee3e0 (patch)
tree8824542746ce962347afa2fafe3ceb3a59ee05b6 /addons
parent7e6dbf494494661f63df621b8904d474787aa2e5 (diff)
parent78ce1d0eff9073094670faacaa5197ff3436dc1f (diff)
Merge pull request #679 from odoo-dev/master-crm-claim-issue-adh
[FIX] crm_claim: remove fold checkbox on claim stages
Diffstat (limited to 'addons')
-rw-r--r--addons/crm_claim/crm_claim.py3
-rw-r--r--addons/crm_claim/crm_claim_data.xml1
-rw-r--r--addons/crm_claim/crm_claim_view.xml1
3 files changed, 0 insertions, 5 deletions
diff --git a/addons/crm_claim/crm_claim.py b/addons/crm_claim/crm_claim.py
index 641c490cabb..e38bf973cdf 100644
--- a/addons/crm_claim/crm_claim.py
+++ b/addons/crm_claim/crm_claim.py
@@ -45,13 +45,10 @@ class crm_claim_stage(osv.osv):
help="Link between stages and sales teams. When set, this limitate the current stage to the selected sales teams."),
'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',
- help="This stage is not visible, for example in status bar or kanban view, when there are no records in that stage to display."),
}
_defaults = {
'sequence': lambda *args: 1,
- 'fold': False,
}
class crm_claim(osv.osv):
diff --git a/addons/crm_claim/crm_claim_data.xml b/addons/crm_claim/crm_claim_data.xml
index fca7ac51178..86cf988ff45 100644
--- a/addons/crm_claim/crm_claim_data.xml
+++ b/addons/crm_claim/crm_claim_data.xml
@@ -61,7 +61,6 @@
<field name="name">Rejected</field>
<field name="sequence">29</field>
<field name="case_default" eval="True"/>
- <field name="fold" eval="True"/>
</record>
diff --git a/addons/crm_claim/crm_claim_view.xml b/addons/crm_claim/crm_claim_view.xml
index 43df3d069bf..6180b85660d 100644
--- a/addons/crm_claim/crm_claim_view.xml
+++ b/addons/crm_claim/crm_claim_view.xml
@@ -51,7 +51,6 @@
<field name="name"/>
<field name="case_default"/>
<field name="sequence"/>
- <field name="fold"/>
</group>
</form>
</field>