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