Repository navigation
Conversation
…lds in Odoo form views
… as the field has now a background-color
Co-authored-by: Rémi <30716308+remi-filament@users.noreply.github.com>
Refactor all selectors to mirror the way odoo sets them. This results in a MUCH broader application of our styles that is not limited to form views. Prefix all vars with "wtc-" in order to prevent them from overriding or being overridden by bootstrap vars. Suffix all vars with !default to ensure that they can be overriden by dark mode. Add $wtc-input-color-required to ensure text contrasts on $wtc-input-background-color-required. This is especially necessary in instances like the quantity and unit price columns of a sale order because by default these fields are set to a light blue. Remove border on .note-editable, i.e. the HTML editor. This feature was broken and, as far as I am concerned, unnecessary. Remove all button customization as it was all broken and is superceeded by OCA/web/web_save_discard_button anyways.
web_dark_mode is not merged yet. #3324
Now you can either enable by user with Classic Theme Persistent setting, or toggle it on and off like dark mode. It uses a cookie to remember your preference between reloads.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-18.0/web-18.0-web_theme_classic Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_theme_classic/
Currently translated at 100.0% (7 of 7 strings) Translation: web-18.0/web-18.0-web_theme_classic Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_theme_classic/it/
Currently translated at 100.0% (1 of 1 strings) Translation: web-18.0/web-18.0-web_widget_mpld3_chart Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_mpld3_chart/sl/
Maximizing or restoring a dialog with the expand button dispatched a synthetic window resize event. Components that close on window resize then close as well, even when they own the dialog. For example, in the analytic distribution widget, choosing "Search More..." on an analytic account opens the dialog, and maximizing or restoring it by hand closes the widget popup, so the dialog is destroyed with it. The resize was there to make a list with manually resized columns fill the new dialog size: manual resizing fixes the width of the table and its parent in pixels, so the list no longer follows the dialog width. Unset those widths instead, so the list fits its columns through its own resize observer.
The button only showed the icon matching the dialog size it had when it was first rendered. Its props (the size getter and setter) never change, so rendering the dialog with a new size does not render the button again. With "default maximize" on, the dialog opened maximized with the maximize icon, and clicking it did nothing, so it could not be restored. Keep the size in the button state so it switches icon on each change.
A dialog opened maximized (by default or because the user maximized the previous ones) could not be restored: - The dialog wrapped by a SelectCreateDialog keeps its own forced size and put it back on every render, so the size set by the expand button of the wrapper was ignored. Take the size given by the parent as the new forced one. - The size to restore fell back to "md" instead of the default size of the dialog, so it did not go back to the size it was opened with.
Currently translated at 100.0% (18 of 18 strings) Translation: web-19.0/web-19.0-web_timeline Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_timeline/pl/
Currently translated at 22.5% (7 of 31 strings) Translation: web-19.0/web-19.0-web_responsive Translate-URL: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_responsive/pl/
Update the oca-addons-repo-template to v1.49. It adds renovate.json, so Renovate keeps the template updated on this branch and on the other branches listed there, and hardens the GitHub workflows.
The pylint-odoo version of template v1.48 makes attribute-string-redundant (W8113) mandatory. The removed labels are the ones Odoo already generates from the field name, so the UI does not change.
The pylint-odoo configuration of template v1.48 reports bs4 as a deprecated module (W4901). lxml, already an Odoo dependency, gives the same div and script for the mpld3 0.5.12 output, so beautifulsoup4 is no longer needed.
sireko
approved these changes
Nov 12, 2026
|
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.