Skip to content
Snippets Groups Projects
Commit c5eeae0d authored by Wolfgang Taferner's avatar Wolfgang Taferner Committed by Nicolas Martinelli
Browse files

[FIX] account: negative bank statement amount


- Create a bank statement for a negative amount, e.g. -100.
- Click 'Reconcile'.
- Create a counterpart line for this bank statement, but specify
  receivable account.

The payment created has `partner_type` set as `supplier`.

Although a receivable account is used for customers.

This use case can arise in case of a credit note to a customer: the
reimbursement should create a customer payment, not a supplier payment.

Co-authored-by: default avatarNicolas Martinelli <nim@odoo.com>

opw-1910807

closes odoo/odoo#30232
parent 6bdf06d7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment