[IMP] note: rename the field 'note_pad' into 'note_pad_url'
bzr revid: abo@openerp.com-20120820162748-f92eq99kywwq7vz7
This commit is contained in:
parent
1fec472ce1
commit
6de8c4b8e4
|
@ -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'
|
||||
|
|
|
@ -104,7 +104,8 @@
|
|||
<!-- todo: remove domain -->
|
||||
<field name="stage_id" domain="[('user_id','=',uid)]" widget="statusbar" clickable="1"/>
|
||||
</header>
|
||||
<field name="note_pad" widget="pad"/>
|
||||
<field name="note"/>
|
||||
<field name="note_pad_url"/>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_ids" widget="mail_thread"/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue