diff --git a/addons/crm/wizard/crm_add_note.py b/addons/crm/wizard/crm_add_note.py index 10b1012f86d..02c492b131c 100644 --- a/addons/crm/wizard/crm_add_note.py +++ b/addons/crm/wizard/crm_add_note.py @@ -9,7 +9,6 @@ class crm_add_note(osv.osv_memory): _description = "Add New Note" _columns = { - 'subject': fields.char('Subject', size=512, required=True), 'body': fields.text('Note Body', required=True), 'state': fields.selection(crm.AVAILABLE_STATES, string='Set New State To', required=True), } @@ -29,8 +28,7 @@ class crm_add_note(osv.osv_memory): user_obj = self.pool.get('res.users') user_name = user_obj.browse(cr, uid, [uid], context=context)[0].name case_pool.history(cr, uid, [case], _("Note"), history=True, - details=obj.body, subject=obj.subject, - email_from=user_name) + details=obj.body, email_from=user_name) if obj.state == 'unchanged': pass diff --git a/addons/crm/wizard/crm_add_note_view.xml b/addons/crm/wizard/crm_add_note_view.xml index a0e6d146f2a..bb6771c632a 100644 --- a/addons/crm/wizard/crm_add_note_view.xml +++ b/addons/crm/wizard/crm_add_note_view.xml @@ -10,7 +10,6 @@ form
-