Split lines when multiple invoices

Bug #1301421 reported by Els Van Vossel (Foxy)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Banking Addons
Confirmed
Undecided
Unassigned

Bug Description

Import CAMT file. Matching of customer is done correctly, but the customer pays multiple invoices. Matching type is set to Invoice.

1. Select one of the invoices in Invoice for reconciliation and click Select. No new line is generated on save.

2. Instead of 1, do Manual matching and select the corresponding invoices. Click match. Then you have to select one of the invoices on the main screen and click Select. The system should create a new line for the second invoice, but this is not the case.

If we Undo the reconciliation, then do a manual match, the system correctly creates a new line for the second invoice.
What do we do wrong?

Revision history for this message
Els Van Vossel (Foxy) (els-vanvossel) wrote :

As long as the type is set to invoice, it doesn't work. When we undo the reconciliation, type is set to False, and then it works

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Just remembered why we did that. The write() method is called twice by the client, for some reason. To deal with this, it does not split again when a match type has already been set. We could either try (again) to find out why this is the case, or improve this usability wise: 1) only ignore if match_type == 'manual', and proceed in other cases and 2) make this visible in the interface by allowing manual matching only if match type is not already manual, and show a text urging the user to undo matching first in that case.

Changed in banking-addons:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.