[MIG] mail_quoted_reply: migration to version 13.0
This commit is contained in:
parent
1919902772
commit
aede2ed3aa
@ -5,11 +5,11 @@
|
|||||||
"name": "Mail Message Reply",
|
"name": "Mail Message Reply",
|
||||||
"summary": """
|
"summary": """
|
||||||
Make a reply using a message""",
|
Make a reply using a message""",
|
||||||
"version": "12.0.1.0.0",
|
"version": "13.0.1.0.0",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
||||||
"website": "https://github.com/OCA/social",
|
"website": "https://github.com/OCA/social",
|
||||||
"depends": ["mail"],
|
"depends": ["mail"],
|
||||||
"qweb": ["static/src/xml/mail_message_reply.xml",],
|
"qweb": ["static/src/xml/mail_message_reply.xml"],
|
||||||
"data": ["templates/assets.xml", "data/reply_template.xml",],
|
"data": ["templates/assets.xml", "data/reply_template.xml"],
|
||||||
}
|
}
|
||||||
|
@ -1 +1,2 @@
|
|||||||
* Enric Tobella
|
* Enric Tobella
|
||||||
|
* Lois Rilo <lois.rilo@forgeflow.com>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Copyright 2021 Creu Blanca
|
# Copyright 2021 Creu Blanca
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
from odoo.tests import TransactionCase
|
from odoo.tests import TransactionCase
|
||||||
|
|
||||||
|
|
||||||
@ -9,6 +10,7 @@ class TestMessageReply(TransactionCase):
|
|||||||
self.assertFalse(
|
self.assertFalse(
|
||||||
partner.message_ids.filtered(lambda r: r.message_type != "notification")
|
partner.message_ids.filtered(lambda r: r.message_type != "notification")
|
||||||
)
|
)
|
||||||
|
# pylint: disable=C8107
|
||||||
message = partner.message_post(body="demo message", message_type="email")
|
message = partner.message_post(body="demo message", message_type="email")
|
||||||
partner.refresh()
|
partner.refresh()
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
|
Loading…
Reference in New Issue
Block a user