Wednesday, June 5, 2024
1 change · saas-17.2
Resolved issues and error corrections
Installing the Ecuador EDI module for an Ecuador-based company no longer fails when a related tax account reference is missing. The system now continues safely by leaving that account reference empty, helping businesses complete setup without interruption.
Original PR description
Currently, an error occurs when installing a 'l10n_ec_edi' module. Step to produce: - Create a company and set its country 'Ecuador'. - And install the 'l10n_ec_edi' module. ```ValueError: External ID not found in the system: account.1_ec_sale_withhold_tax_base``` An error occurs when the system tries to retrieve a 'Sales Tax Base Account' through account view id at [1], but the view id is not available. To handle this issue, add 'raise_if_not_found=False' so that if the external id of view is not found, the 'Sales Tax Base Account' will get an empty record. sentry-5183479269