Daily updates from Odoo
Tuesday, November 5, 2019
1 change · master
Resolved issues and error corrections
Online bank synchronization now groups imported transactions by their actual transaction dates instead of only looking at the most recent statement. This prevents transactions from being placed in the wrong daily or periodic statement and may reopen a posted statement when a matching transaction needs to be added.
Original PR description
Previously we were splitting transactions in the following way: We only checked the last statement date and based on the split frequency we decided if we had to create a new statement or not. We did not take into account the transactions date at all, which means that it was possible to have daily statement with transactions from another date. Now we base ourselves on the transactions date and we move each transactions to the correct statement based on the spit frequency. -> This implies some changes, if the transactions has to be put in a posted bank statement, we will add the line inside and reset the statement to 'draft'. Other transactions will be created in new statements which can possibly be between two others statements.