#202 Payment-in-out-allocation buggy when partial allocation
Testcase to check if partial allocations are working well
Payment with Payment
-
Go to Payment window and create 2 new ones: incoming and outgoing, same bpartner G000X, same amount
-
Go to Payment Allocation window and filter for G000X
- Select both Payments and press on process
- => lines were processed and disappeared
- go to Allocations subtab in Payment, zoom on Allocation, press on Posted
- => allocation and posting created ok
-
Go to Payment window and create 2 new ones: incoming and outgoing, same bpartner G000X, different amount (e.g. 100 and 90)
-
Go to Payment Allocation window and filter for G000X
- Select both Payments and press on process
- => error saying that you cannot process because the difference between amounts is not 0
- set over-under on Y and try again
-
select discount and set discount 10 on the payment of 100
- select only the line with 100, press on write-off
- select both and press on process
- => lines were processed and disappeared
- go to Allocations subtab in Payment, zoom on Allocation, press on Posted
- => allocation and posting created ok
Payment with Invoice
-
create a sales invoice, and an outgoing payment, different amounts
-
go to payment allocations window and select both. Check over-under on Y
- press on process
- => the documents are processed and the line with the smaller amount disappeared
- => allocation and posting created ok
-
create a purchase invoice, and an incoming payment, different amounts
-
go to payment allocations window and select both. Check over-under on Y
- press on process
- => the documents are processed and the line with the smaller amount disappeared
- => allocation and posting created ok
Invoice with Invoice
-
create a sales and a purchase invoice, different amounts
-
go to payment allocations window and select both. Check over-under on Y
-
press on process
- => the documents are processed and the line with the smaller amount disappeared
- => allocation and posting created ok
View source file on GitHub.com