Skip to content

Commit

Permalink
[MIG] email_template_configurator: Migration to 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinetDenisAcsone committed Oct 27, 2021
1 parent 4c8ef73 commit a194beb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions email_template_configurator/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"name": "Email Template Configurator",
"summary": """
Simplifies use of placeholders in email templates""",
"version": "11.0.1.0.0",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"website": "https://github.com/OCA/mozaik",
"depends": [
"mail",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class EmailTemplatePlaceholder(models.Model):
comodel_name="ir.model",
string="Model",
required=True,
ondelete="cascade",
)
placeholder = fields.Char(
required=True,
Expand Down
1 change: 1 addition & 0 deletions email_template_configurator/tests/test_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def test_configurator(self):
"placeholder_id",
{
"placeholder_id": "1",
"placeholder_value": False,
},
)["value"]
self.assertEqual(res["placeholder_value"], vals["placeholder"])
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<field name="model_id" />
<group>
<filter
name="model_id"
string="Model"
domain="[]"
context="{'group_by':'model_id'}"
Expand Down

0 comments on commit a194beb

Please sign in to comment.