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