[FIX] account_banking_payment: Move has a 'ref', not a 'reference' field

This commit is contained in:
unknown
2013-10-14 13:50:06 +02:00
committed by Pedro M. Baeza

View File

@@ -153,7 +153,7 @@ class payment_order(osv.osv):
move_id = account_move_obj.create(cr, uid, {
'journal_id': order.mode.transfer_journal_id.id,
'name': 'Debit order %s' % line.move_line_id.move_id.name,
'reference': 'DEB%s' % line.move_line_id.move_id.name,
'ref': 'DEB%s' % line.move_line_id.move_id.name,
}, context=context)
# TODO: take multicurrency into account