[FIX] account : Changing date on register in draft state
lp bug: https://launchpad.net/bugs/847581 fixed bzr revid: bde@tinyerp.com-20110913094942-930lf6c9641lv38p
This commit is contained in:
@@ -340,7 +340,7 @@ class account_cash_statement(osv.osv):
|
||||
})
|
||||
|
||||
vals.update({
|
||||
'date': time.strftime("%Y-%m-%d %H:%M:%S"),
|
||||
'date': statement.date,
|
||||
'state': 'open',
|
||||
})
|
||||
self.write(cr, uid, [statement.id], vals, context=context)
|
||||
|
||||
Reference in New Issue
Block a user