diff options
Diffstat (limited to 'addons/pad_project/models/project_task.py')
| -rw-r--r-- | addons/pad_project/models/project_task.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/addons/pad_project/models/project_task.py b/addons/pad_project/models/project_task.py deleted file mode 100644 index c215aed1325..00000000000 --- a/addons/pad_project/models/project_task.py +++ /dev/null @@ -1,17 +0,0 @@ -# -*- coding: utf-8 -*- -from tools.translate import _ -from osv import fields, osv - -class task(osv.osv): - _inherit = "project.task" - - def pad_get(self, cr, uid, ids, context=None): - """Get pad action - """ - url = self.pool.get("ir.attachment").pad_get(cr, uid, self._name, ids[0]) - return { - 'type': 'ir.actions.act_url', - 'url': url - } - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
