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.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/note_pad/models/note.py b/addons/note_pad/models/note.py
new file mode 100644
index 00000000..49536d79
--- /dev/null
+++ b/addons/note_pad/models/note.py
@@ -0,0 +1,14 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from odoo import fields, models
+
+
+class NotePad(models.Model):
+
+ _name = 'note.note'
+ _inherit = ['pad.common', 'note.note']
+
+ _pad_fields = ['note_pad']
+
+ note_pad_url = fields.Char('Pad Url', pad_content_field='memo', copy=False)