Friday, April 26, 2024
8 changes
2 changes
Resolved issues and error corrections
Spreadsheet previews in Documents now show the latest visual changes when users return to the folder view. This avoids confusion from stale thumbnails and removes the need to manually reload the page to see updates.
Original PR description
steps to reproduce: - create a new spreadsheet - change the background color of some cells (so that it's well visible in the thumbnail) - go back to Documents with the breadcrumb - open the spreadsheet again - change the background color - go back again to Documents with the breadcrumb => the thumbnail is not up-to-date with the new background color. You need to reload the page to see it. Technical note: for regular documents, `unique` is the attachment checksum. It doesn't work for spreadsheets since the attachment actually doesn't change when a spreadsheet is updated. A revision is dispatched. The last revision uuid can be used as `unique` discriminant instead Task: 3887916
Employees who do not have a system login will now be automatically subscribed to their appraisal records and related meetings. This helps ensure they stay represented in the appraisal process and that communications reach the right contact.
Original PR description
With this commit, an employee no-user will be by default subscribed to his appraisal and his meeting task-3870088
6 changes
Resolved issues and error corrections
This fix resolves test failures in the Shop Floor module when running in databases without demo data. The issue occurred because a required setting (group_mrp_routings) was disabled, causing automated tests to fail at their first step. The fix automatically enables this setting during test setup and ensures required test data (an employee named 'Marc Demo') is created when not present.
Original PR description
### Issue: Tours from `tour_shopfloor.js` fail in "No demo" databases. ### Explanation: This is due to the setting `group_mrp_routings` being disabled. When it is enabled, a pop-up appears when…
### Issue: Tours from `tour_shopfloor.js` fail in "No demo" databases. ### Explanation: This is due to the setting `group_mrp_routings` being disabled. When it is enabled, a pop-up appears when entering Shop Floor and the tours take it into account since the setting is enabled with Demo Data. When it is disabled, the pop-up does not appear, and the tests fail at the first step because of it. https://github.com/odoo/enterprise/blob/4b34efc77b57562e4c92956c63c8c20e6de53bf0/mrp_workorder/static/src/mrp_display/mrp_display.js#L107 https://github.com/odoo/enterprise/blob/4b34efc77b57562e4c92956c63c8c20e6de53bf0/mrp_workorder/static/src/mrp_display/mrp_display.js#L114-L119 ### Fix: Due to both tests failing for the same reason, the setting will automatically be enabled in `setUpClass`. `test_shop_floor` also needs an employee named 'Marc Demo', adding the creation of the employee for "No demo" databases. https://github.com/odoo/enterprise/blob/74e0f4fec69d6512e213312bf42f3d743f7a27b3/mrp_workorder/static/tests/tours/tour_shopfloor.js#L28-L31 error-60565 error-58036
This update corrects the Spanish translation of a link text in the Peru EDI module from "here" to the proper Spanish word "aquí". This ensures that Peruvian users see accurate, localized text in their interface when using the electronic invoicing features.
Original PR description
"here" = "aquí" in Spanish Forward-Port-Of: odoo/enterprise#61474
This update fixes a broken test in the Dutch tax reporting module that was failing due to changes in how chart templates work. The test wasn't running before because required environment variables weren't configured, but now that they are enabled, the test needed to be updated to work with the current system.
Original PR description
The way the chart templates refs work had changed in 16.2, but this test was never adapted (it never ran before as the needed environment variables were not set on runbot... They are now and this raises an error). Forward-Port-Of: odoo/enterprise#61385
This update fixes inconsistent method signatures in the accounting, purchasing, and sales modules to match the parent email notification method. While no actual bugs were reported, this change ensures all modules follow the same API standard, improving code consistency and preventing potential future issues.
Original PR description
Since 3eb96806022705f5b667e149ffa2240760097278, the signature of method `_notify_by_email_prepare_rendering_context` has been changed to provide a default values to `msg_vals` and some overrides were not adapted (or have been added afterwards). No true bug/issue has been found caused by that discrepancy, but for consistency, this commit makes sure those overrides are adapted to provide the same API as the parent method. Fixes #162742 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#163334
A test case in the India localization module was incorrectly inheriting from an enterprise class instead of the community version. This fix corrects the inheritance to use the appropriate community class, ensuring tests run properly with the correct codebase.
Original PR description
Before this commit: Accidentally the test case in community inherited class from enterprise After this commit: We inherit the correct class which belongs to community --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where the OCR button was not properly hidden in the Account PEPPOL module. The fix corrects how the system determines when to display the OCR button by adjusting the default state of the extractable field, ensuring the button only appears when appropriate.
Original PR description
`extract_can_show_send_button` is a computed readonly field, providing a default value doesn't do anything. By setting `is_in_extractable_state` to `False` by default, we can hide the ocr button. no task, noticed while fixing a traceback in saas-17.1 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#163524