web_company_color reset to default

Open
#3,447 2 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

@vikas468368-star is already working on this.

Since Oct 16, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by locating the web_company_color module in the OCA/web repository and reading how it stores and applies company colors. Add a way to clear a selected color so the original Odoo color is shown again; the issue gives no file or test names, so inspect the module’s existing tests and controls to determine how to verify the reset.

Written by the indexing model from the issue text.

Description

enhancement

Is your feature request related to a problem?
The web_company_color module let you set colors for different companies. The problem is that once you set a color, you can only change it to a different one, but you cannot reset it. This means that you will end up trying to mimic original Odoo color in order to fake kinda reset behavior.

Describe the solution you'd like
The solution could be to just add a button to reset colors to empty so original Odoo colors will be displayed.

Describe alternatives you've considered
The color input type does not allow empty or full alpha color so reset seems to be the best way.

Additional context
No extra context required.

Dominant language
JavaScript
Stars
1.2k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OCA/web

All issues in OCA/web

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.