summaryrefslogtreecommitdiff
path: root/addons/pad_project/models
diff options
context:
space:
mode:
authorJigar Patel <jat@openerp.com>2016-05-23 12:55:40 +0530
committerYannick Tivisse <yti@odoo.com>2016-07-05 16:02:22 +0200
commit0312063baac0fb264689628d68b818b369bdf771 (patch)
tree059551186c832ba4a9d713d79113efebb000c760 /addons/pad_project/models
parent66496b89a54ada293c8c1aa4a430944223886567 (diff)
[MOV] pad_project: Re-organized file structure
Diffstat (limited to 'addons/pad_project/models')
-rw-r--r--addons/pad_project/models/__init__.py4
-rw-r--r--addons/pad_project/models/project_task.py10
2 files changed, 14 insertions, 0 deletions
diff --git a/addons/pad_project/models/__init__.py b/addons/pad_project/models/__init__.py
new file mode 100644
index 00000000000..8cfe108d7b6
--- /dev/null
+++ b/addons/pad_project/models/__init__.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+import project_task
diff --git a/addons/pad_project/models/project_task.py b/addons/pad_project/models/project_task.py
new file mode 100644
index 00000000000..166e86b1922
--- /dev/null
+++ b/addons/pad_project/models/project_task.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+from openerp.tools.translate import _
+from openerp.osv import fields, osv
+
+class task(osv.osv):
+ _name = "project.task"
+ _inherit = ["project.task",'pad.common']
+ _columns = {
+ 'description_pad': fields.char('Pad URL', pad_content_field='description')
+ }