You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a sale has a credit note, and that credit note is paid, then the residual amount becomes negative.
To Reproduce
Affected versions: 15.0, 16.0 but maybe others too.
Steps to reproduce the behavior:
One scenario: Sale order wants to be cancelled but an invoice has already been published, when the credit not is created and reconciled with the invoice the residual amount becomes negative
Create a sale
Create invoice of the sale.
Create credit note for the invoice
Residual amount negative:
Second scenario: The client wants to return products of the sale so a credit note is created and money is returned to the client.
Create a sale.
Deliver 2 products.
Create invoice.
Return 1 product.
Create credit note for 1 product.
Pay credit note with a payment.
Residual amount negative:
Expected behavior
For the first scenario the residual amount should 320 and not -320, for the second scenario the residual amount should be 320 and not -320 un less the user change the quantity to 1 product in the sale order where should be then zero that residual amount.
Additional context
This was tested on runboat.
The text was updated successfully, but these errors were encountered:
yaazkal
changed the title
Advance payment residual amount negative when credit notes are paid
Advance payment residual amount negative when credit notes are reconciled
Nov 23, 2024
Module
Sale Advance Payment (
sale_advance_payment
)Describe the bug
When a sale has a credit note, and that credit note is paid, then the residual amount becomes negative.
To Reproduce
Affected versions: 15.0, 16.0 but maybe others too.
Steps to reproduce the behavior:
One scenario: Sale order wants to be cancelled but an invoice has already been published, when the credit not is created and reconciled with the invoice the residual amount becomes negative
Residual amount negative:
Second scenario: The client wants to return products of the sale so a credit note is created and money is returned to the client.
Residual amount negative:
Expected behavior
For the first scenario the residual amount should 320 and not -320, for the second scenario the residual amount should be 320 and not -320 un less the user change the quantity to 1 product in the sale order where should be then zero that residual amount.
Additional context
This was tested on runboat.
The text was updated successfully, but these errors were encountered: