diff options
| author | ptr-odoo <ptr-odoo@users.noreply.github.com> | 2017-08-29 16:08:10 +0530 |
|---|---|---|
| committer | Laurent Smet <las@openerp.com> | 2017-08-29 12:38:10 +0200 |
| commit | 276f0806381d4e03903521cfa2e4e2ca00c688a6 (patch) | |
| tree | 260cc501656affac7adade185e51dde3098df066 /addons/analytic/models | |
| parent | 3267e765209ee7a19b327620622fa1b5126eed00 (diff) | |
[IMP] account: allow to archive journal, account.tag and analytic.tag
Currently there is no option to Archive / Unarchive Journal + Accounting Tag + Analytic Account Tag
task: https://www.odoo.com/web#id=27447&view_type=form&model=project.task&menu_id=4720
PR: #12864
Diffstat (limited to 'addons/analytic/models')
| -rw-r--r-- | addons/analytic/models/analytic_account.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/analytic/models/analytic_account.py b/addons/analytic/models/analytic_account.py index 916d4878144..a87a948e1fa 100644 --- a/addons/analytic/models/analytic_account.py +++ b/addons/analytic/models/analytic_account.py @@ -9,6 +9,7 @@ class AccountAnalyticTag(models.Model): _description = 'Analytic Tags' name = fields.Char(string='Analytic Tag', index=True, required=True) color = fields.Integer('Color Index', default=10) + active = fields.Boolean(default=True, help="Set active to false to hide the Analytic Tag without removing it.") class AccountAnalyticAccount(models.Model): |
