Friday, November 17, 2023
5 changes · 17.0
Resolved issues and error corrections
This fixes how the system builds file paths when loading base module resources. It helps prevent incorrect path resolution in edge cases, improving reliability without changing user-facing workflows.
Original PR description
`os.path.join(..., <absolute>)` returns `<absolute>` path
This update fixes automated tests in the accounting and bank statement modules that were failing because they relied on demo data. The tests have been updated to work independently, ensuring the system can be tested properly even when demo data is not installed. This improves the reliability of the testing process.
Original PR description
We want the tests to be able to run even without demo data. These use a res_partner/res_partner_bank defined in demo data. The account_asset test was forgotten during the fw-port of https://github.com/odoo/enterprise/commit/d8e5b62dfadffb6b81e61fce73053fa806fc2c6c Runbot error: 26966, 26308, 26986 Forward-Port-Of: odoo/enterprise#50512 Forward-Port-Of: odoo/enterprise#49851
This update improves how the system handles situations when incoming customer emails with XML attachments cannot be matched to existing invoices in the database. Instead of treating these cases as critical errors, the system now logs them as warnings, reducing unnecessary alert noise while still tracking the issue for investigation.
Original PR description
While retrieving emails from incoming customers, this issue will only be triggered when the emails contain attachments of the .xml file type. Subsequently, a data matching process is carried out between the email content and the searched database. If no matching data or IDs are found, an error is thrown. Traceback: ``` Move not found with partner: 672, name: FAC 016714, l10n_latam_document_type: 1, company_id: 1 ``` This commit will change logger error to logger warning. sentry- 4305483242 Forward-Port-Of: odoo/enterprise#44248
The appointment module's email parser has been improved to better handle complex email inputs with multiple email addresses. This fix updates the corresponding tests to reflect the enhanced email detection capability, ensuring the system can now correctly process unusual multi-email formats that previously may have been missed.
Original PR description
We now find more emails when input is a strange multi-emails like input. See community PR for more details. Task-3572208
This update corrects a test case in the barcode scanning module to properly handle procurement groups. The test was creating multiple inventory moves with conflicting procurement group settings in the same picking operation, which is not a valid business scenario. This fix ensures the test accurately reflects how the system should work.
Original PR description
Following https://github.com/odoo/odoo/pull/138623, creating 2 moves with different procurement group in the same picking makes no sens opw-3470090 Forward-Port-Of: odoo/enterprise#50821