Skip to content

[IMP] web_company_color: add reset colors button - #3614

Open
LuisAlejandroS wants to merge 1 commit into
OCA:16.0from
factorlibre:16.0-imp-web_company_color-reset_colors_button
Open

[IMP] web_company_color: add reset colors button#3614
LuisAlejandroS wants to merge 1 commit into
OCA:16.0from
factorlibre:16.0-imp-web_company_color-reset_colors_button

Conversation

@LuisAlejandroS

Copy link
Copy Markdown

Add a 'Reset colors' button in the Company Styles page that clears the 8 sparse color fields of the current company (writing False removes each key from company_colors), reverting it to the standard style without uninstalling the module. Covered by test_reset_colors and, for multi-company isolation, test_reset_colors_other_company_untouched.

Also align the es.po translation of color_navbar_bg_hover with the literal 'Hover' criterion used by the other two hover color fields.

@rebeca-martin rebeca-martin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Salvo el esto, el resto genial! son mas sugerencias que otra cosa

Comment thread web_company_color/tests/test_res_company.py
Comment thread web_company_color/tests/test_res_company.py
Comment thread web_company_color/view/res_company.xml Outdated
Add a 'Reset colors' button in the Company Styles page that clears the
8 sparse color fields of the current company (writing False removes each
key from company_colors), reverting it to the standard style without
uninstalling the module. Covered by test_reset_colors and, for
multi-company isolation, test_reset_colors_other_company_untouched.

Also align the es.po translation of color_navbar_bg_hover with the
literal 'Hover' criterion used by the other two hover color fields.
@LuisAlejandroS
LuisAlejandroS force-pushed the 16.0-imp-web_company_color-reset_colors_button branch from 7c1257f to 1788f1a Compare July 21, 2026 10:45
@rebeca-martin

Copy link
Copy Markdown

LGTM!

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

Labels

mod:web_company_color Module web_company_color series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants