From e5fc812f6aeb6082223bb20efdef20cae9f2c370 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Fri, 6 May 2016 01:16:20 +0200 Subject: [PATCH] Finalise the wizard of selection of move lines to pay Add button "Add to payment/debit order" on invoice form view Started to integrate payment transfer in account_payment_order (not finished at all though) Various fixes/changes/improvements/... --- account_banking_mandate/models/account_move_line.py | 1 - 1 file changed, 1 deletion(-) diff --git a/account_banking_mandate/models/account_move_line.py b/account_banking_mandate/models/account_move_line.py index 142bebf4e..2aa599796 100644 --- a/account_banking_mandate/models/account_move_line.py +++ b/account_banking_mandate/models/account_move_line.py @@ -16,7 +16,6 @@ class AccountMoveLine(models.Model): def _prepare_payment_line_vals(self, payment_order): vals = super(AccountMoveLine, self)._prepare_payment_line_vals( payment_order) - # TODO : test on the view field "mandate required ?" if payment_order.payment_type == 'inbound' and self.mandate_id: vals['mandate_id'] = self.mandate_id.id or False vals['partner_bank_id'] = self.mandate_id.partner_bank_id.id or False