[FIX] sale: duplication of an existing sale order should change the date
bzr revid: mat@openerp.com-20130920150010-zj6ug2mdvagr9dv0
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user