diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-09-07 13:56:04 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-09-07 13:56:04 +0200 |
| commit | b49b72f00ec2d818338aa8af008ac8337ba990df (patch) | |
| tree | 065178ab5412214b3a4d50b04f988f05ca3b393a /addons/note/note.py | |
| parent | 481c300cc5b98ffca245fa59573063513074a0d8 (diff) | |
[IMP] note : split of note module : note module & note_pad module
bzr revid: chm@openerp.com-20120907115604-wmp8rxec0fk9508r
Diffstat (limited to 'addons/note/note.py')
| -rw-r--r-- | addons/note/note.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/note/note.py b/addons/note/note.py index 6acb3884cd7..985cacd3404 100644 --- a/addons/note/note.py +++ b/addons/note/note.py @@ -52,8 +52,7 @@ class note_tag(osv.osv): class note_note(osv.osv): """ Note """ _name = 'note.note' - _inherit = ['mail.thread','pad.common'] - _pad_fields = ['note_pad'] + _inherit = ['mail.thread'] _description = "Note" def _set_note_first_line(self, cr, uid, id, name, value, args, context=None): @@ -104,7 +103,6 @@ class note_note(osv.osv): _columns = { 'name': fields.function(_get_note_first_line, fnct_inv=_set_note_first_line, string='Note Summary', type='text'), 'note': fields.html('Pad Content'), - 'note_pad_url': fields.char('Pad Url', size=250), 'sequence': fields.integer('Sequence'), # the stage_id depending on the uid 'stage_id': fields.many2one('note.stage', 'Stage'), @@ -125,7 +123,6 @@ class note_note(osv.osv): _defaults = { 'active' : 1, 'stage_id' : _get_default_stage_id, - 'note_pad_url': lambda self, cr, uid, context: self.pad_generate_url(cr, uid, context), } _order = 'sequence asc' _group_by_full = { |
