[FIX] sale: duplication of an existing sale order should change the date

bzr revid: mat@openerp.com-20130920150010-zj6ug2mdvagr9dv0
This commit is contained in:
Martin Trigaux
2013-09-20 17:00:10 +02:00
+1
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,