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

This commit is contained in:
Stefan Rijnhart
2013-09-23 15:54:39 +02:00
parent 13963bb9bf
commit 6a8e213d8d

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