Split lines when multiple invoices

Bug #1301421 reported by Els Van Vossel (Foxy) on 2014-04-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Banking Addons

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?

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

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  Edit
Everyone can see this information.

Other bug subscribers