mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
copy account move lines without bank reconciliation fields
This commit is contained in:
committed by
Sandy Carter
parent
6743a46eed
commit
4b87cf4b12
@@ -31,8 +31,7 @@ class account_move_line(osv.osv):
|
||||
'draft_assigned_to_statement': fields.boolean('Assigned to Statement? ', help='Check if the move line is assigned to statement lines')
|
||||
}
|
||||
|
||||
|
||||
def copy(self, cr, uid, id, default=None, context=None):
|
||||
def copy_data(self, cr, uid, id, default=None, context=None):
|
||||
if default is None:
|
||||
default = {}
|
||||
|
||||
@@ -42,6 +41,6 @@ class account_move_line(osv.osv):
|
||||
draft_assigned_to_statement=False,
|
||||
)
|
||||
|
||||
return super(account_move_line, self).copy(cr, uid, id,
|
||||
default=default,
|
||||
context=context)
|
||||
return super(account_move_line, self).copy_data(cr, uid, id,
|
||||
default=default,
|
||||
context=context)
|
||||
|
||||
Reference in New Issue
Block a user