[15.0][MIG]mail_attach_existing_attachment: module migration fron 14.0 to 15.0
This commit is contained in:
parent
a966c89ef6
commit
f9ad1c0d4d
@ -7,7 +7,7 @@
|
|||||||
"author": "ACSONE SA/NV, Tecnativa, Odoo Community Association (OCA)",
|
"author": "ACSONE SA/NV, Tecnativa, Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/social",
|
"website": "https://github.com/OCA/social",
|
||||||
"category": "Social Network",
|
"category": "Social Network",
|
||||||
"version": "14.0.1.0.0",
|
"version": "15.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"depends": ["mail"],
|
"depends": ["mail"],
|
||||||
"data": ["wizard/mail_compose_message_view.xml"],
|
"data": ["wizard/mail_compose_message_view.xml"],
|
||||||
|
@ -19,7 +19,7 @@ class MailComposeMessage(models.TransientModel):
|
|||||||
res["can_attach_attachment"] = True # pragma: no cover
|
res["can_attach_attachment"] = True # pragma: no cover
|
||||||
return res
|
return res
|
||||||
|
|
||||||
can_attach_attachment = fields.Boolean(string="Can Attach Attachment")
|
can_attach_attachment = fields.Boolean()
|
||||||
object_attachment_ids = fields.Many2many(
|
object_attachment_ids = fields.Many2many(
|
||||||
comodel_name="ir.attachment",
|
comodel_name="ir.attachment",
|
||||||
relation="mail_compose_message_ir_attachments_object_rel",
|
relation="mail_compose_message_ir_attachments_object_rel",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user