Remove subjects from notes.

bzr revid: daniel.watkins@credativ.co.uk-20100831154216-hikcdtped1jpa35w
This commit is contained in:
Daniel Watkins
2010-08-31 16:42:16 +01:00
parent 44f6140d69
commit 5fc77d61d2
2 changed files with 1 additions and 4 deletions
+1 -3
View File
@@ -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
-1
View File
@@ -10,7 +10,6 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Add Note" col="4">
<field name="subject"/>
<field name="body" nolabel="1" colspan="4" default_focus="1"/>
<separator string="" colspan="6"/>
<group colspan="6" col="4" >