[FIX] Add tack_visibility on field 'name' from model : project. That's allow to know which Project is concerned by the subtype.

bzr revid: jke@openerp.com-20140319115057-55h9fh7y7x2nu9ik
This commit is contained in:
Kersten Jeremy 2014-03-19 12:50:57 +01:00
parent 758d467982
commit 0b237def4d
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ class task(osv.osv):
_columns = {
'active': fields.function(_is_template, store=True, string='Not a Template Task', type='boolean', help="This field is computed automatically and have the same behavior than the boolean 'active' field: if the task is linked to a template or unactivated project, it will be hidden unless specifically asked."),
'name': fields.char('Task Summary', size=128, required=True, select=True),
'name': fields.char('Task Summary', track_visibility='onchange', size=128, required=True, select=True),
'description': fields.text('Description'),
'priority': fields.selection([('4','Very Low'), ('3','Low'), ('2','Medium'), ('1','Important'), ('0','Very important')], 'Priority', select=True),
'sequence': fields.integer('Sequence', select=True, help="Gives the sequence order when displaying a list of tasks."),