From 5146498497df000b683d07d611d3e46bf05ea977 Mon Sep 17 00:00:00 2001
From: "ron@tinyerp.com" <>
Date: Wed, 23 Nov 2011 11:33:38 +0530
Subject: [PATCH] [FIX] crm_claim: Removed fields partner_mobile, active
,date_open field because thats not in object model
bzr revid: ron@tinyerp.com-20111123060338-eekz5u4nnu1xa0ox
---
addons/crm_claim/crm_claim.py | 2 --
addons/crm_claim/crm_claim_demo.xml | 14 --------------
2 files changed, 16 deletions(-)
diff --git a/addons/crm_claim/crm_claim.py b/addons/crm_claim/crm_claim.py
index b5cd2009698..5262c6ae7b8 100644
--- a/addons/crm_claim/crm_claim.py
+++ b/addons/crm_claim/crm_claim.py
@@ -129,8 +129,6 @@ class crm_claim(crm.crm_case, osv.osv):
if l.state == 'draft':
message = _("The claim '%s' has been opened.") % l.name
self.log(cr, uid, l.id, message)
- value = {'date_open': time.strftime('%Y-%m-%d %H:%M:%S')}
- self.write(cr, uid, [l.id], value)
stage_id = self.stage_find(cr, uid, l.section_id.id or False, [('sequence','>',0)])
if stage_id:
self.stage_set(cr, uid, [l.id], stage_id)
diff --git a/addons/crm_claim/crm_claim_demo.xml b/addons/crm_claim/crm_claim_demo.xml
index 0f8488628b5..8279e04eb6f 100644
--- a/addons/crm_claim/crm_claim_demo.xml
+++ b/addons/crm_claim/crm_claim_demo.xml
@@ -15,8 +15,6 @@
-
-
@@ -31,8 +29,6 @@
-
-
@@ -47,8 +43,6 @@
-
-
@@ -63,8 +57,6 @@
-
-
@@ -79,8 +71,6 @@
-
-
@@ -88,14 +78,12 @@
-
-
@@ -104,14 +92,12 @@
-
-