[MIG]mail_activity_plan:migration to v16

This commit is contained in:
2023-11-22 12:34:08 +01:00
parent c2b6f1f54e
commit 55a9885dfa
4 changed files with 7 additions and 6 deletions

View File

@@ -1,2 +1 @@
from . import mail_activity_plan
from . import ir_actions
from . import ir_actions, mail_activity_plan

View File

@@ -3,6 +3,7 @@
from odoo import fields, models
class IrActionsServer(models.Model):
""" Add activity plan option in server actions. """
_inherit = 'ir.actions.server'

View File

@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, fields, models, _
from odoo import _, api, fields, models
class MailActivityTemplate(models.Model):
'''

View File

@@ -37,9 +37,9 @@
<field name="name"/>
</h1>
</div>
<group string="Activity Templates">
<page string="Activity Templates">
<field name="active" invisible="1"/>
<field name="mail_activity_template_ids" nolabel="1">
<field name="mail_activity_template_ids">
<tree>
<field name="sequence" widget="handle"/>
<field name="mail_activity_type_id"/>
@@ -47,7 +47,7 @@
<field name="user_id"/>
</tree>
</field>
</group>
</page>
</sheet>
</form>
</field>