Skip to content

[19.0][MIG] web_theme_classic: Migration to 19.0#3547

Open
jarmokortetjarvi wants to merge 32 commits into
OCA:19.0from
jarmokortetjarvi:19.0-mig-web_theme_classic
Open

[19.0][MIG] web_theme_classic: Migration to 19.0#3547
jarmokortetjarvi wants to merge 32 commits into
OCA:19.0from
jarmokortetjarvi:19.0-mig-web_theme_classic

Conversation

@jarmokortetjarvi
Copy link
Copy Markdown
Contributor

Changes from 18.0:

View view_users_form_simple_modif

  • Put field persistent_classic_theme inside preferences_page page instead of non-existing group preferences

View view_users_form_simple_modif

  • Put field persistent_classic_theme inside other_preferences group instead of after non-existing field action_id

https://github.com/OCA/web/compare/18.0...jarmokortetjarvi:web:19.0-mig-web_theme_classic?expand=1

legalsylvain and others added 30 commits May 12, 2026 17:04
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.
OCA#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/
@BhaveshHeliconia
Copy link
Copy Markdown
Contributor

@jarmokortetjarvi could you please update the title to : [19.0][MIG] web_theme_classic: Migration to 19.0

Copy link
Copy Markdown
Contributor

@BhaveshHeliconia BhaveshHeliconia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code and functional review LGTM!

@jarmokortetjarvi jarmokortetjarvi changed the title 19.0 mig web theme classic [19.0] [MIG] web_theme_classic: Migration to 19.0 May 13, 2026
@jarmokortetjarvi jarmokortetjarvi changed the title [19.0] [MIG] web_theme_classic: Migration to 19.0 [19.0][MIG] web_theme_classic: Migration to 19.0 May 13, 2026
Copy link
Copy Markdown
Member

@CristianoMafraJunior CristianoMafraJunior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.