[FIX] crm: add date field in models of claim, fundraising, helpdsk, crm.applicat...
authorHarry (Open ERP) <hmo@tinyerp.com>
Tue, 23 Feb 2010 10:56:50 +0000 (16:26 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Tue, 23 Feb 2010 10:56:50 +0000 (16:26 +0530)
bzr revid: hmo@tinyerp.com-20100223105650-9bj77azz1psdwo18

addons/crm/crm_claim.py
addons/crm/crm_fundraising.py
addons/crm/crm_helpdesk.py
addons/crm_hr/crm_hr.py
addons/crm_project/crm_project_bug.py

index adb9e72..2a560da 100644 (file)
@@ -29,6 +29,7 @@ class crm_claim(osv.osv):
     _inherit = 'crm.case'
     _columns = {
         'date_closed': fields.datetime('Closed', readonly=True),
+        'date': fields.datetime('Date'),
         'ref' : fields.reference('Reference', selection=crm._links_get, size=128),
         'ref2' : fields.reference('Reference 2', selection=crm._links_get, size=128),
         'canal_id': fields.many2one('res.partner.canal', 'Channel',help="The channels represent the different communication modes available with the customer." \
index c04b40c..b90f8fd 100644 (file)
@@ -29,6 +29,7 @@ class crm_fundraising(osv.osv):
     _inherit ='crm.case'
     _columns = {        
             'date_closed': fields.datetime('Closed', readonly=True),
+            'date': fields.datetime('Date'),
             'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),            
             'categ_id': fields.many2one('crm.case.categ','Category', domain="[('section_id','=',section_id),('object_id.model', '=', 'crm.fundraising')]"),
             'planned_revenue': fields.float('Planned Revenue'),
index 6ffd71d..2553e58 100644 (file)
@@ -29,6 +29,7 @@ class crm_helpdesk(osv.osv):
     _inherit = 'crm.case'
     _columns = {
             'date_closed': fields.datetime('Closed', readonly=True),
+            'date': fields.datetime('Date'),
             'ref' : fields.reference('Reference', selection=crm._links_get, size=128),
             'ref2' : fields.reference('Reference 2', selection=crm._links_get, size=128),
             'canal_id': fields.many2one('res.partner.canal', 'Channel',help="The channels represent the different communication modes available with the customer." \
index 5a58af0..f7668a4 100644 (file)
@@ -29,6 +29,7 @@ class crm_applicant(osv.osv):
     _inherit ='crm.case'
     _columns = {
             'date_closed': fields.datetime('Closed', readonly=True),
+            'date': fields.datetime('Date'),
             'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),
             'categ_id': fields.many2one('crm.case.categ', 'Category', domain="[('section_id','=',section_id),('object_id.model', '=', 'crm.applicant')]"),
             'planned_revenue': fields.float('Planned Revenue'),
index ca6b93e..ad0fdc8 100644 (file)
@@ -42,6 +42,7 @@ class crm_project_bug(osv.osv):
     _inherit = 'crm.case'
     _columns = {
         'date_closed': fields.datetime('Closed', readonly=True),
+        'date': fields.datetime('Date'),
         'ref' : fields.reference('Reference', selection=crm._links_get, size=128),
         'ref2' : fields.reference('Reference 2', selection=crm._links_get, size=128),
         'canal_id': fields.many2one('res.partner.canal', 'Channel',help="The channels represent the different communication modes available with the customer." \