mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[IMP] runbot: add mail.thread to upgrade exception
Makes it easier to track when to remove upgrade exceptions.
This commit is contained in:
parent
833b4e29d0
commit
2298b6430a
@ -6,8 +6,9 @@ from odoo.exceptions import UserError
|
||||
class UpgradeExceptions(models.Model):
|
||||
_name = 'runbot.upgrade.exception'
|
||||
_description = 'Upgrade exception'
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
|
||||
active = fields.Boolean('Active', default=True)
|
||||
active = fields.Boolean('Active', default=True, tracking=True)
|
||||
elements = fields.Text('Elements', required=True)
|
||||
bundle_id = fields.Many2one('runbot.bundle', index=True)
|
||||
info = fields.Text('Info')
|
||||
|
@ -44,6 +44,11 @@
|
||||
<field name="message"/>
|
||||
</group>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_follower_ids" groups="base.group_user" options="{'post_refresh': 'recipients'}"/>
|
||||
<field name="activity_ids"/>
|
||||
<field name="message_ids"/>
|
||||
</div>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
Loading…
Reference in New Issue
Block a user