[IMP] project_issue: added date_action_last and date_action_next in order to allow to make temporal conditions in base_action_rule module

bzr revid: qdp-launchpad@tinyerp.com-20100625142159-ug31sosl741xvkuy
This commit is contained in:
qdp-launchpad@tinyerp.com 2010-06-25 16:21:59 +02:00
parent ceb831a4f4
commit 5e838e2e5e
1 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,8 @@ class project_issue(osv.osv, crm.crm_case):
method=True, multi='working_days_close', type="float", store=True),
'message_ids': fields.one2many('mailgate.message', 'res_id', 'Messages', domain=[('history', '=', True),('model','=',_name)]),
'log_ids': fields.one2many('mailgate.message', 'res_id', 'Logs', domain=[('history', '=', False),('model','=',_name)]),
'date_action_last': fields.datetime('Last Action', readonly=1),
'date_action_next': fields.datetime('Next Action', readonly=1),
}
def _get_project(self, cr, uid, context):