From db3238fcf6beb4e393832b657120d24b21f35cf8 Mon Sep 17 00:00:00 2001 From: Mackilem Date: Thu, 21 Nov 2019 22:55:25 -0300 Subject: [PATCH] =?UTF-8?q?estou=20retirando=20a=20altera=C3=A7=C3=A3o=20f?= =?UTF-8?q?eita=20no=20commit=20a1a602be8ffd27500f4b20bcfbc782fd1e0a61a0?= =?UTF-8?q?=20pois=20n=C3=A3o=20sei=20o=20que=20foi=20tentado=20resolver,?= =?UTF-8?q?=20mas=20essa=20solu=C3=A7=C3=A3o=20n=C3=A3o=20serve=20por=20es?= =?UTF-8?q?tar=20causando=20erro=20nos=20pagamento=20conforme=20descrito?= =?UTF-8?q?=20no=20ticket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- br_account_payment/models/account_payment.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/br_account_payment/models/account_payment.py b/br_account_payment/models/account_payment.py index a8a75e1b5..da36a56fa 100644 --- a/br_account_payment/models/account_payment.py +++ b/br_account_payment/models/account_payment.py @@ -59,9 +59,3 @@ def action_view_receivable_payable(self): action['context'] = {'search_default_partner_id': self.partner_id.id} return action - - @api.multi - def _compute_payment_amount(self, invoices=None, currency=None): - super(AccountPayment, self)._compute_payment_amount( - invoices=invoices, currency=currency) - return self.move_line_id.debit or self.move_line_id.credit