[MERGE] merged bugfix 722686
bzr revid: qdp-launchpad@openerp.com-20110225145542-guupidiukbjjjqje
This commit is contained in:
@@ -2520,7 +2520,7 @@ class stock_inventory(osv.osv):
|
||||
|
||||
}
|
||||
_defaults = {
|
||||
'date': time.strftime('%Y-%m-%d %H:%M:%S'),
|
||||
'date': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'),
|
||||
'state': 'draft',
|
||||
'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.inventory', context=c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user