2012-07-17 22:14:08 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from tools.translate import _
|
|
|
|
from osv import fields, osv
|
|
|
|
|
|
|
|
class task(osv.osv):
|
|
|
|
_name = "project.task"
|
|
|
|
_inherit = ["project.task",'pad.common']
|
2012-07-21 19:25:51 +00:00
|
|
|
_pad_fields = ['description_pad']
|
2012-07-17 23:00:06 +00:00
|
|
|
_columns = {
|
2012-07-21 19:25:51 +00:00
|
|
|
'description_pad': fields.char('Description PAD', size=250)
|
2012-07-17 23:00:06 +00:00
|
|
|
}
|
2012-07-17 22:14:08 +00:00
|
|
|
_defaults = {
|
2012-07-21 19:25:51 +00:00
|
|
|
'description_pad': lambda self, cr, uid, context: self.pad_generate_url(cr, uid, context),
|
2012-07-17 22:14:08 +00:00
|
|
|
}
|