Friday, March 22, 2024
9 changes · 17.0
Enhancements to existing features
This update refines an automated test for stock revaluation to focus only on verifying the financial value changes, rather than checking product display names. This makes the test more flexible since many companies customize product names without affecting the core revaluation functionality.
Original PR description
This fix was merged yesterday: https://github.com/odoo/odoo/pull/154239 The fix is ok but the test is testing the display name on the product. It is not necessary for the purpose of the change. Forward-Port-Of: odoo/odoo#157546
Resolved issues and error corrections
This change prevents an error when accounting entries include analytic allocations across both a project and a department. It helps users process inter-company accounting documents reliably when richer analytic tracking is used.
Original PR description
During this commit: https://github.com/odoo/enterprise/commit/123d31b19773e2d408d893b493b76f2e75783a0f
When having an analytic distribution with a project and a department, a traceback appears because analytic_distribution will be a dict under the form ('id,id' : percentage) and so when looping through it and doing an int typecast, it causes a traceback.
task-3806002Documentation and clarification updates
This update adds Christian Laurel (CLaurelB) as an authorized contributor for Vauxoo in Odoo's Contributor License Agreement. The change ensures that Vauxoo's team members are properly registered and authorized to contribute to the Odoo project.
Original PR description
Incorporate Christihan Laurel (CLaurelB) as Vauxoo's contributor. I confirm I have signed the CLA and read the PR guidelines at http://www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158615 Forward-Port-Of: odoo/odoo#158221
The Swedish tax report has been updated with new values for specific report sections (blocks F and G). This change updates the corresponding test cases to ensure they accurately validate the new report calculations. This ensures the tax reporting functionality continues to work correctly with the updated report structure.
Original PR description
The values of blocks F and G have been changed on the sweedish tax report on the `l10n_se` module. This commit adapt the tests accordingly. Forward-Port-Of: odoo/enterprise#58870 Forward-Port-Of: odoo/enterprise#58508
This update refreshes the X (formerly Twitter) logo and branding colors throughout the social media integration module. The changes ensure that Odoo's social media features display the current X branding, keeping the platform aligned with the rebranded service.
Original PR description
*: website_twitter_wall This commit involves adjustments to a few images and SVG files to incorporate the new X (previously called Twitter) logo. related to: https://github.com/odoo/odoo/pull/148126 task-3463530 Forward-Port-Of: odoo/enterprise#59056 Forward-Port-Of: odoo/enterprise#53644
This fix addresses a test that was failing unpredictably in the Mexican POS invoicing feature. The test was relying on demo data that could vary depending on what other modules were installed, causing inconsistent results. The fix uses a dedicated test partner and removes unnecessary configuration steps to ensure the test runs reliably every time.
Original PR description
Since 39a0542b6505e18e3fdfbefba4210d8ba87bae3c, the value of `l10n_mx_edi_cfdi_to_public` depends on the partner linked to the pos_order. For instance, a mexican partner without VAT will have…
Since 39a0542b6505e18e3fdfbefba4210d8ba87bae3c, the value of `l10n_mx_edi_cfdi_to_public` depends on the partner linked to the pos_order. For instance, a mexican partner without VAT will have `l10n_mx_edi_cfdi_to_public` to True by default.
The tour `test_mx_pos_invoice_previous_order` is failing undeterministically. The tour proceeds as follows:
- create an order without partner, and validate it
- later, go the list of paid orders, select the last one and invoice it
- the list of partners opens to allow setting one
- then, a dialog opens to set the `l10n_mx_edi_usage` and `l10n_mx_edi_cfdi_to_public`
Currently, we simply select the first partner in the list ("(AR) Exento" if l10n_ar is installed...). When selecting this partner, we trigger the compute which will set a value on `l10n_mx_edi_cfdi_to_public`. Then, we can input `l10n_mx_edi_usage` and `l10n_mx_edi_cfdi_to_public` in the dialog. But the values filled in that dialog are not always saved to the database before ending the tour.
This fix uses a new partner to no longer depends on demo data. In addition, we leave the default values in the dialog to make sure the test will not fail no matter if the dialog's values are saved or not in the database (in a proper subsequent fix, we should ensure that we always end the tour after the dialog's values are saved).
runbot build error 60671This update adjusts how the system logs certain asset-related issues. Instead of marking them as errors, the system now logs them as warnings, which better reflects that these are not actual problems with the codebase but rather expected situations that should be tracked differently. This helps reduce noise in error monitoring systems and provides clearer visibility into actual system problems.
Original PR description
Currently, log level error mesage occur when`ValueError` is catched by line [1]. This commit changes 'logger.error' to 'logger.warning' with filename to log message instead of error since this is not an actual error of the codebase. [1]-https://github.com/odoo/odoo/blob/3932c46f914c40be4b0629771d1981cdf289df26/addons/web/controllers/binary.py#L131 sentry-4657682601 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update refreshes the X/Twitter logo throughout the Odoo platform to reflect the new design. The change affects visual elements in the web interface, website builder, and mass mailing features, ensuring consistent branding across all user-facing components.
Original PR description
*: website, website_twitter This commit introduces an update to the Font Awesome library, specifically replacing the X/Twitter icon with its new design. It also involves adjustments to a few images and SVG files to incorporate the updated X/Twitter logo. Technical note: It updates an existing file, originally modified for the addition of the TikTok icon, which was not available in Font Awesome 4. Related to: https://github.com/odoo/enterprise/pull/53644 task-3463530 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158454 Forward-Port-Of: odoo/odoo#148126
This update removes unnecessary warning alerts that appeared when viewing posted invoices or bills with archived currencies. The alert will now only display for draft documents, preventing confusion when reviewing finalized transactions that cannot be edited.
Original PR description
Steps to reproduce: * Activate multi-currency (Company currency `USD`, another currency activated 'EUR') * Create invoice/bill in `EUR` and post it * Archive `EUR` * Open Invoice/Bill Issue: * Alert for inactivated currency is always displayed Fix: * Alert for inactivated currency should be displayed in draft state only Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158639 Forward-Port-Of: odoo/odoo#98341