[FIX] project_long_term: remove inappropriate (and useless) default value

bzr revid: rco@openerp.com-20120509100851-zd29xff7jk9pzuld
This commit is contained in:
Raphael Collet 2012-05-09 12:08:51 +02:00
parent 36346f081e
commit 700061a30a
1 changed files with 0 additions and 1 deletions

View File

@ -123,7 +123,6 @@ class project_phase(osv.osv):
_defaults = {
'state': 'draft',
'sequence': 10,
'project_id':lambda self, cr, uid, context: context.get('active_id',False),
'product_uom': lambda self,cr,uid,c: self.pool.get('product.uom').search(cr, uid, [('name', '=', _('Day'))], context=c)[0]
}
_order = "project_id, date_start, sequence"