Thursday, April 25, 2024
11 changes · 17.0
Enhancements to existing features
The India localization now chooses the buyer trade name more accurately for inter-company transactions by using available partner references. When no reference exists, it continues to use the partner name, helping keep electronic invoice and e-waybill details consistent.
Original PR description
Previously, the buyer trade name defaulted to the partner name. This PR introduces a refined approach: - For inter-company transactions, the buyer trade name is assigned based on the availability of partner references. - If no reference is available, the buyer trade name defaults to the partner name. Task ID: 3887828
This update adds automated testing for the drag-and-drop functionality when rearranging website columns on mobile devices. Following a previous improvement to support mobile ordering, this change ensures the feature works correctly by adding a test tour that validates the drag-and-drop flow for mobile-ordered columns.
Original PR description
Commit [1] improved the drag and drop to also consider elements having a mobile order. As a follow-up, this commit adds a tour testing the drag and drop flow when moving mobile ordered columns. [1]: https://github.com/odoo/odoo/commit/7b27385dba36c2e741d96e76ad5d847d09f2b084 task-3744643 related to opw-3697962
Resolved issues and error corrections
Fixed an issue where users would see a technical error message when trying to send an empty message in the portal's quotation chatter. The system now properly handles this scenario and displays a user-friendly error message instead of a traceback.
Original PR description
Steps to reproduce: - Install e-Commerce - Go to your portal into a quotation - Go to the chatter and send an empty message Issues: A traceback is shown Solution: Catch the error and discard it as the parent method is already displaying the error message to the user. opw-3877096
Documentation and clarification updates
This change adds a signed Contributor License Agreement (CLA) from Rosen Vladimirov, enabling him to contribute to the Odoo project. The CLA is a legal requirement that ensures all contributors have agreed to the terms under which their code contributions will be used.
Original PR description
Description of the issue/feature this PR addresses: Add new CLA from Rosen Vladimirov 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
Miscellaneous changes
Steps to reproduce: 1) Go to runbot Odoo 16 enterprise and install "l10n_ar_edi" module (Argentinean Electronic Invoicing) and then "l10n_ar_reports" (Argentinean Accounting Reports). 2) Take position on Argentinian company (AR) (Responsable Inscripto) . 3) Go to Accounting / Reporting / Statement Reports / Tax Report and click on button "XLSX". 4) Select moves from current month. Current behavior: Date format on XLSX report is incorrect (date column). Expected behavior:
Original PR description
Steps to reproduce: 1) Go to runbot Odoo 16 enterprise and install "l10n_ar_edi" module (Argentinean Electronic Invoicing) and then "l10n_ar_reports" (Argentinean Accounting Reports). 2) Take position on Argentinian company (AR) (Responsable Inscripto) . 3) Go to Accounting / Reporting / Statement Reports / Tax Report and click on button "XLSX". 4) Select moves from current month. Current behavior: Date format on XLSX report is incorrect (date column). Expected behavior: Date format on XLSX report is correct (date column). Video: https://drive.google.com/file/d/1ECNCET76PPpSVyxtBKrUZrsZhnSgZ66k/view Ticket Adhoc: 73508 Task latam: 1193 Forward-Port-Of: odoo/enterprise#61241
The customer portal was displaying a redundant "Addresses" box that provided the same functionality as the "Edit information" option. This update removes the unnecessary box to simplify the user interface. The multiple addresses feature will be added in a future release.
Original PR description
Steps to reproduce: - Install eCommerce - Go to My account Issues: There is a box "Addresses" which is useless for the moment as it's the same page that can be accessed by clicking on "Edit information". The feature to have multiple addresses is going to be present in master at some point, however for now we're removing the box as it's useless. opw-3869920
A test in the Manufacturing module was failing inconsistently depending on the database configuration. The fix adjusts how the test calculates work order duration to ensure it runs reliably regardless of working hours settings. This improves the stability of our automated testing process.
Original PR description
The `test_update_workcenter_adapt_finish_date` test was not consistent when the db was installed without demo data. The test was failing because the working hours were not the same and so the duration was different. To fix this we adjust the starting time of the work order so that it last exactly 30 minutes, and is not impacted by the working hours. runbot error : https://runbot.odoo.com/web#id=61595&cids=1&menu_id=405&action=573&model=runbot.build.error&view_type=form --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#162074
This update removes the display of subscriber numbers that were appearing next to mailing list names in website forms configured for newsletter signups. The subscriber count information was unnecessary and has been cleaned up to provide a cleaner user experience when visitors subscribe to newsletters through website forms.
Original PR description
*: website_mass_mailing Before this commit, when a "Form" snippet was added and the action was changed to "Subscribe to Newsletter", the mailing lists appeared as checkbox fields with the number of subscribers in parentheses. This commit removes the display of this unnecessary information. Steps to reproduce: - Install the "Email Marketing" module and Website. - Navigate to the Website in edit mode. - Drag & drop the "Form" block (dynamic content section). - Change the form action by setting the "Action" option to "Subscribe to Newsletter". Bug: The number of subscribers appears next to the mailing list names. task-3472820 Co-authored-by: Adrien Milis <miad@odoo.com> Forward-Port-Of: odoo/odoo#163215 Forward-Port-Of: odoo/odoo#160509
This fix resolves a testing issue where portal user tests were failing when the system runs without demo data. The solution creates a portal user during test setup to ensure tests can run reliably in all environments. This improves the stability of the testing framework.
Original PR description
The test_sudo_commands fails when testing portal user without demo data. With this commit, a portal user is created in a setupClass. build-error: 55927 Forward-Port-Of: odoo/odoo#163116
This update corrects how test users are configured in the base module's testing framework. The fix ensures that tests properly use the demo user defined in the test class, which resolves a build error and improves test reliability. This is a maintenance fix that doesn't affect end users but strengthens the quality of the software.
Original PR description
build-error: 55926 Forward-Port-Of: odoo/odoo#163107
This update makes it easier for businesses to customize the default time period used in stock quantity reports. Instead of requiring code changes, administrators can now adjust the reporting period through system settings, improving flexibility and reducing implementation time.
Original PR description
Use an ir.config_parameters to set the period for the stock quantity report to ease customization. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#163017