diff options
| author | Kinjal Mehta <kme@odoo.com> | 2016-01-13 16:19:04 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-03-23 16:35:34 +0100 |
| commit | 16d993a134ba0883f1dd6cdf241934d5615dc039 (patch) | |
| tree | 5c370ce1c7d204a13760626fdba669e974d7e9a8 /addons/analytic/models | |
| parent | a57592abe4e8ac3bac04cbd19eeac88a163aaf7e (diff) | |
[IMP] account_budget,analytic,project: Some display improvements
1/ An empty notebook was created in analytic and filled in account_budget
That way, we had a horizontal line while the module wasn't installed yet
2/ The fields use_task and use_issue displayed on the account.analytic.account
are just redundant information. The probable use case is to go on the project
select the issues management on it, and it will be activated on the related
analytic account. I don't think that anybody will come on the analytic account
to activate the issues. So we hide them in group_no_one
3/ On the analytic account form view, display the title label only in edit mode
Diffstat (limited to 'addons/analytic/models')
| -rw-r--r-- | addons/analytic/models/analytic.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/analytic/models/analytic.py b/addons/analytic/models/analytic.py index 20b186c51a4..8a1a6646f83 100644 --- a/addons/analytic/models/analytic.py +++ b/addons/analytic/models/analytic.py @@ -43,7 +43,6 @@ class account_analytic_account(models.Model): name = fields.Char(string='Analytic Account', index=True, required=True, track_visibility='onchange') code = fields.Char(string='Reference', index=True, track_visibility='onchange') - # FIXME: we reused account_type to implement the closed accounts (feature removed by mistake on release of v9) without modifying the schemas on already released v9, but it would be more clean to rename it active = fields.Boolean('Active', help="If the active field is set to False, it will allow you to hide the account without removing it.", default=True) tag_ids = fields.Many2many('account.analytic.tag', 'account_analytic_account_tag_rel', 'account_id', 'tag_id', string='Tags', copy=True) |
