web_company_color reset to default

Aperta
#3,447 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@vikas468368-star ci sta già lavorando.

Dal 16/10/2026.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
1.2k
Fork
2.2k
Merge medio
3g 15h
PR unite (30g)
30

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OCA/web

Tutte le issue di OCA/web

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.