Skip to content
Snippets Groups Projects
Commit 95620bb0 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[IMP] base: rephrase sentence

Was not clear groupby is the attribute
parent b4faa5d7
No related branches found
No related tags found
No related merge requests found
......@@ -812,7 +812,7 @@ actual arch.
field = Model._fields.get(node.get('name'))
if field:
if field.type != 'many2one':
self.raise_view_error(_('groupby can only target many2one (%(field)s') % dict(field=field.name), view_id)
self.raise_view_error(_("'groupby' tags can only target many2one (%(field)s)") % dict(field=field.name), view_id)
attrs = fields.setdefault(node.get('name'), {})
children = False
# move all children nodes into a new node <groupby>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment