summaryrefslogtreecommitdiff
path: root/addons/note_pad/models
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2016-04-22 14:29:16 +0200
committerJérome Maes <jem@openerp.com>2016-05-03 16:59:19 +0200
commitaf8643248fcaac3e4ea09ff98dfa020358139eef (patch)
treeefa0c7abe478d3cf9e5e1665121c032557592a4e /addons/note_pad/models
parentb3b0b23fe2094812eb9d609b43c04a4a70c60cbf (diff)
[MOV] note_pad : move files
Diffstat (limited to 'addons/note_pad/models')
-rw-r--r--addons/note_pad/models/__init__.py4
-rw-r--r--addons/note_pad/models/note.py17
2 files changed, 21 insertions, 0 deletions
diff --git a/addons/note_pad/models/__init__.py b/addons/note_pad/models/__init__.py
new file mode 100644
index 00000000000..8afd58169b8
--- /dev/null
+++ b/addons/note_pad/models/__init__.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+import note
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