[ADD] mail: mail_message_subtype: add a hidden field, to hide some subtypes from
the followers widget. This will be used to hide the created subtype on the task or issues for example, while still available on the related project. The subtype on the task is necessary to trigger the various autosubscription and notification mechanisms but its display on task/issue is not. bzr revid: tde@openerp.com-20140221102823-ca1bvw3qi9kf61uq
This commit is contained in:
parent
fc7f21e4bf
commit
09c90c3a53
|
@ -51,8 +51,10 @@ class mail_message_subtype(osv.osv):
|
|||
'default': fields.boolean('Default',
|
||||
help="Activated by default when subscribing."),
|
||||
'sequence': fields.integer('Sequence', help="Used to order subtypes."),
|
||||
'hidden': fields.boolean('Hidden', help="Hide the subtype in the follower options")
|
||||
}
|
||||
_order = 'sequence'
|
||||
_defaults = {
|
||||
'default': True,
|
||||
'sequence': 1,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue