mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] base_comment_template: Adapt to 14.0
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user