[MERGE] OPW 587330: DO not copy the value of the statement_id field when copying an account move

bzr revid: cbi@openerp.com-20130404095120-eomhgacjsbejf31d
This commit is contained in:
Chris Biersbach
2013-04-04 11:51:20 +02:00
+2
View File
@@ -1383,6 +1383,7 @@ class account_move(osv.osv):
'ref':False,
'balance':False,
'account_tax_id':False,
'statement_id': False,
})
if 'journal_id' in vals and vals.get('journal_id', False):
@@ -1419,6 +1420,7 @@ class account_move(osv.osv):
context = {} if context is None else context.copy()
default.update({
'state':'draft',
'ref': False,
'name':'/',
})
context.update({