Monday, September 14, 2026
1 change · 18.0
Enhancements to existing features
Adds a test to ensure Mexican electronic invoices keep showing a cancellation request as pending even after the tax authority reports the invoice as valid. This helps prevent invoices from appearing as normally sent while a cancellation is still in progress.
Original PR description
Add test to verify that l10n_mx_edi_cfdi_state remains as 'cancel_requested' when the SAT responds 'valid' after a cancellation request. Currently cfdi_state reverts to 'sent' because the compute requires sat_state == 'not_defined', which no longer holds after pressing 'Update SAT'. This test is expected to fail (red) until the fix is applied.