Default to Pending state in Add Note dialog.
bzr revid: daniel.watkins@credativ.co.uk-20100831153640-dzz292qyjnsxkc7x
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user