[FIX] default_get corrected
bzr revid: jma@tinyerp.com-20100518051514-7y63x6ui400m70h2
This commit is contained in:
parent
f750c8b4d8
commit
47a7f86d31
|
@ -343,7 +343,7 @@ class account_analytic_line(osv.osv):
|
|||
}
|
||||
_defaults = {
|
||||
'date': lambda *a: time.strftime('%Y-%m-%d'),
|
||||
'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'account.analytic.line', c),
|
||||
'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'account.analytic.line', context=c),
|
||||
}
|
||||
_order = 'date'
|
||||
account_analytic_line()
|
||||
|
|
Loading…
Reference in New Issue