[FIX] copy record must have today date

bzr revid: rmu@tinyerp.com-20130626053642-7moae6mkif1ycbgv
This commit is contained in:
Peter Langenberg 2013-06-26 11:06:42 +05:30 committed by Ravish (Open ERP)
parent fc8ca396d6
commit acda6a4d8a
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class sale_order(osv.osv):
if not default:
default = {}
default.update({
'date_order': fields.date.context_today(self, cr, uid, context=context),
'state': 'draft',
'invoice_ids': [],
'date_confirm': False,