[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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user