From 376957c363fe807ede49e392392eca052e56409b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 15 Oct 2014 22:42:40 +0200 Subject: [PATCH] [FIX] account_banking_payment_transfer: do not set name on the transfer move There is no need to set the name on the transfer move as the same information is present in the move lines labels. Moreover setting the name of the move will prevent the system to number it according to the sequence. --- account_banking_payment_transfer/model/account_payment.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/account_banking_payment_transfer/model/account_payment.py b/account_banking_payment_transfer/model/account_payment.py index b027f99d6..10ffcaccc 100644 --- a/account_banking_payment_transfer/model/account_payment.py +++ b/account_banking_payment_transfer/model/account_payment.py @@ -171,10 +171,6 @@ class payment_order(orm.Model): self, cr, uid, order, line, labels, context=None): vals = { 'journal_id': order.mode.transfer_journal_id.id, - 'name': '%s %s' % (labels[order.payment_order_type], - line.move_line_id - and line.move_line_id.move_id.name - or line.communication), 'ref': '%s %s' % (order.payment_order_type[:3].upper(), line.move_line_id and line.move_line_id.move_id.name