diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-08-20 18:27:48 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-08-20 18:27:48 +0200 |
| commit | 6de8c4b8e4f037f5297741e08ab643eada09728d (patch) | |
| tree | 629e2714f4ecb327be47c015f5fc9fe479029c80 /addons/note/note.py | |
| parent | 1fec472ce18ea1ffc644e059e3e815a43bf7ee7e (diff) | |
[IMP] note: rename the field 'note_pad' into 'note_pad_url'
bzr revid: abo@openerp.com-20120820162748-f92eq99kywwq7vz7
Diffstat (limited to 'addons/note/note.py')
| -rw-r--r-- | addons/note/note.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/note/note.py b/addons/note/note.py index 96c7cea9602..25f6c170f42 100644 --- a/addons/note/note.py +++ b/addons/note/note.py @@ -87,7 +87,7 @@ class note_note(osv.osv): _columns = { 'name': fields.function(_get_note_first_line,_fnct_inv=_set_note_first_line, string='Note Summary', type="text", store=True), 'note': fields.text('Pad Content'), - 'note_pad': fields.char('Pad Url', size=250), + 'note_pad_url': fields.char('Pad Url', size=250), 'sequence': fields.integer('Sequence'), 'stage_id': fields.many2one('note.stage', 'Stage'), 'active': fields.boolean('Active'), @@ -101,7 +101,7 @@ class note_note(osv.osv): _defaults = { 'active' : 1, 'stage_id' : _get_default_stage_id, - 'note_pad': lambda self, cr, uid, context: self.pad_generate_url(cr, uid, context), + 'note_pad_url': lambda self, cr, uid, context: self.pad_generate_url(cr, uid, context), } _order = 'sequence asc' |
