diff --git a/odoo/tools/convert.py b/odoo/tools/convert.py index 34651e97b52..e4ff57990fa 100644 --- a/odoo/tools/convert.py +++ b/odoo/tools/convert.py @@ -336,7 +336,7 @@ form: module.record_id""" % (xml_id,) name = rec.get('name') xml_id = rec.get('id','') self._test_xml_id(xml_id) - warnings.warn("The tag is deprecated, use a for {xml_id!r}.", DeprecationWarning) + warnings.warn(f"The tag is deprecated, use a for {xml_id!r}.", DeprecationWarning) view_id = False if rec.get('view_id'): view_id = self.id_get(rec.get('view_id'))