diff options
| author | Alexandre Kühn <alexkuhn@users.noreply.github.com> | 2017-11-20 10:47:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-20 10:47:43 +0100 |
| commit | 23e6dd36d7477f13fe42fdcaae890ffb690d05a4 (patch) | |
| tree | e797dc6b2a29d4d106c86dd937761c405399e4f4 /addons/analytic | |
| parent | 7d2666d020215d8d8fe36c32f4a8e049e5d7915c (diff) | |
[IMP] web: hide in kanban tag's color (#20815)
New feature:
- New Transparent tag visual (grey border & text, white bg),
- By default, newly created kanban tags are transparent,
- Tag's colorpicker has now a 'Hide in Kanban' checkbox,
to select the transparent color.
Toggling off 'Hide in Kanban' sets the color of the tag as follow:
- Previous color, if 'Hide in Kanban' was toggled on on the
same formview session.
- Color 1 (dark orange), otherwise.
Diffstat (limited to 'addons/analytic')
| -rw-r--r-- | addons/analytic/models/analytic_account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/analytic/models/analytic_account.py b/addons/analytic/models/analytic_account.py index a87a948e1fa..47fee210a3f 100644 --- a/addons/analytic/models/analytic_account.py +++ b/addons/analytic/models/analytic_account.py @@ -8,7 +8,7 @@ class AccountAnalyticTag(models.Model): _name = 'account.analytic.tag' _description = 'Analytic Tags' name = fields.Char(string='Analytic Tag', index=True, required=True) - color = fields.Integer('Color Index', default=10) + color = fields.Integer('Color Index') active = fields.Boolean(default=True, help="Set active to false to hide the Analytic Tag without removing it.") |
