[IMP] base_comment_template: Adapt to 14.0

This commit is contained in:
Víctor Martínez
2021-04-13 13:46:31 +02:00
parent 34333c4216
commit 85f9bc918e
11 changed files with 78 additions and 101 deletions

View File

@@ -76,8 +76,7 @@ class BaseCommentTemplate(models.Model):
)
def name_get(self):
"""Redefine the name_get method to show the template name with the position.
"""
"""Redefine the name_get method to show the template name with the position."""
res = []
for item in self:
name = "{} ({})".format(