summaryrefslogtreecommitdiff
path: root/addons/note_pad/models/note.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/note_pad/models/note.py')
-rw-r--r--addons/note_pad/models/note.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/note_pad/models/note.py b/addons/note_pad/models/note.py
new file mode 100644
index 00000000000..a69a6349d45
--- /dev/null
+++ b/addons/note_pad/models/note.py
@@ -0,0 +1,17 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from openerp.osv import osv, fields
+from openerp.tools.translate import _
+
+class note_pad_note(osv.osv):
+ """ memo pad """
+
+ _name = 'note.note'
+ _inherit = ['pad.common','note.note']
+
+ _pad_fields = ['note_pad']
+
+ _columns = {
+ 'note_pad_url': fields.char('Pad Url', pad_content_field='memo'),
+ } \ No newline at end of file