[FIX] default_get corrected

bzr revid: jma@tinyerp.com-20100518051514-7y63x6ui400m70h2
This commit is contained in:
JMA (OpenERP) 2010-05-18 10:45:14 +05:30
parent f750c8b4d8
commit 47a7f86d31
1 changed files with 1 additions and 1 deletions

View File

@ -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()