Default to Pending state in Add Note dialog.

bzr revid: daniel.watkins@credativ.co.uk-20100831153640-dzz292qyjnsxkc7x
This commit is contained in:
Daniel Watkins
2010-08-31 16:36:40 +01:00
parent c5c5d8b0f4
commit 44f6140d69
+7
View File
@@ -44,4 +44,11 @@ class crm_add_note(osv.osv_memory):
return {}
def default_get(self, cr, uid, fields, context=None):
"""
This function gets default values
"""
return {'state': u'pending'}
crm_add_note()