Friday, March 8, 2019
8 changes · master
Enhancements to existing features
The Mail module now shows the correct name in the Schedule Activity wizard. This makes the interface clearer for users and reduces confusion when planning follow-up activities.
Original PR description
Description of the issue/feature this PR addresses: Mail module 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
The upgrade button from Odoo Community now directs users to pricing that highlights the on-premise option. This helps avoid confusion with Odoo Online's one-app free offer and makes the available choices clearer for customers.
Original PR description
When going to pricing page from Odoo Community, show the "on premise" option to avoid confusion with the one-app free offer of Odoo Online. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The web interface now better shows when one pop-up window is opened on top of another. This makes stacked dialogs easier to understand by visually dimming the window behind the active one.
Original PR description
When modals are superimposed, as the backdrop z-index is lower than the modal z-index, there was no visual information than one modal was in front of the other. The second backdrop now correctly covers the first modal. Task 1918395
Spreadsheet import failures now show the exact row and column where a problematic cell was found. This makes it easier for users or support teams to locate and correct data issues during XLS or XLSX imports.
Original PR description
When an import failed because of a specific cell, the error was Error cell found while reading XLS/XLSX file: #N/A Add the line and column index in the error for better debugging Translate error message Cherry-pick of odoo/odoo#30729 in master cc @Yenthe666 as modifying the translation content and is only an improvement (no fix as we keep the message value in the end)
Resolved issues and error corrections
This change makes previously unreliable website editor tests run consistently again by restoring timing safeguards. It also improves how test results are compared so harmless differences in attribute order no longer cause failures, helping maintain confidence in future updates.
Original PR description
Those tests were skipped because they were failing non-deterministically. This commit aims to make them deterministic by putting back some guard promises that were lost during the jquery update adaptation. This commit also fixes a lingering issue with one of the asserts. We observed that sometimes, the "alt" and "title" attributes where both present on the element but displayed in different order in the string returned by wysiwyg.getValue(). This is because there is no set order in the attribute returned by jQuery.html(). Because of that, I replaced the simple sring test by a thorough manual comparison of the result that is expected to be equivalent.
This fixes autocomplete dropdown styling and test flows affected by the jQuery update. Users will continue to see the correct highlighted option while navigating dropdown suggestions, avoiding confusing visual behavior.
Original PR description
*partner_autocomplete,test_main_flows In jQuery 3, the active element in autocomplete dropdowns is no longer identified with class 'ui-state-focus' on the <li/>, but with class 'ui-state-active' is on its child <a/>. Moreover, the background color of the active element is now set on the <a/> instead of the <li/>. This rev. adapts scss rules accordingly, and selectors in the main_flow_tour. Issue reported on the jquery update pad. 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
Renaming a file upload field in Studio now updates its related filename field instead of creating an extra one. This keeps custom field setups cleaner and avoids confusion from duplicate filename fields.
Original PR description
When creating a binary field with Studio, another char field containing the filename is created. However, after renaming the binary field, another filename field was created, instead of renaming the existing one. The filename field is now correctly renamed and no duplicate is created. Task 1945366
Autocomplete dropdowns in the Enterprise web interface now display correctly after the jQuery 3 update. This prevents visual glitches in suggestion menus, helping users select options reliably while working in Odoo.
Original PR description
This rev. is the enterprise counterpart of PR odoo/odoo#31693.