Skip to content

Commit

Permalink
estou retirando a alteração feita no commit a1a602b pois não sei o qu…
Browse files Browse the repository at this point in the history
…e foi tentado resolver, mas essa solução não serve por estar causando erro nos pagamento conforme descrito no ticket
  • Loading branch information
Mackilem committed Nov 22, 2019
1 parent 788117f commit db3238f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions br_account_payment/models/account_payment.py
Expand Up @@ -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

0 comments on commit db3238f

Please sign in to comment.