Daily updates from Odoo
Sunday, February 1, 2026
1 change · 19.0
Resolved issues and error corrections
This update resolves an issue where customer claims weren't being processed correctly due to a limitation in how the system matched invoices based on VAT numbers. Specifically, when a child invoice contact shares a VAT number with a parent, the system would incorrectly select a partner, leading to missing account moves. This fix ensures accurate claim processing by handling shared VAT numbers properly.
Original PR description
When we process new customer claims, we need to search for the corresponding account moves in order to update their `l10n_cl_dte_acceptation_status`. Currently, we only expect 1 partner per VAT number when searching for a partner to match with the account move. However, this is not always true. For instance, a child invoice contact will share the same VAT number than the parent partner. This can lead to the selection of the wrong partner in the search domain and consequently, the account move not being found. Related ticket: opw-5257481 Forward-Port-Of: odoo/enterprise#105939 Forward-Port-Of: odoo/enterprise#103366