Thursday, April 25, 2024
7 changes · 17.0
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
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