summaryrefslogtreecommitdiff
path: root/addons/pad_project/project_task.py
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2012-07-18 00:14:08 +0200
committerFabien Pinckaers <fp@openerp.com>2012-07-18 00:14:08 +0200
commit36cde3d9fca0f786a8fa8dabf94bac71e1ae637a (patch)
treee05d1c8ede03d63cafacaf7150456570c0961a0f /addons/pad_project/project_task.py
parent2a89c6079c9f7f5d9135bcda777fda3f3ed8d859 (diff)
parent45c50d3a31cc9627e61384bd0c1c80f22c5e740e (diff)
[IMP] some cleaning in etherpad
bzr revid: fp@openerp.com-20120717221408-zk30i103f0erk4a3
Diffstat (limited to 'addons/pad_project/project_task.py')
-rw-r--r--addons/pad_project/project_task.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/pad_project/project_task.py b/addons/pad_project/project_task.py
new file mode 100644
index 00000000000..96e1ef86e4d
--- /dev/null
+++ b/addons/pad_project/project_task.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-8 -*-
+from tools.translate import _
+from osv import fields, osv
+
+class task(osv.osv):
+ _name = "project.task"
+ _inherit = ["project.task",'pad.common']
+ _pad_url = 'description'
+ _defaults = {
+ _pad_url: lambda self, cr, uid, context: self.pad_generate_url(cr, uid, self._name, context),
+ }