|
|
@ -228,6 +228,9 @@ class BiSQLViewField(models.Model): |
|
|
|
res = '' |
|
|
|
if self.field_description and self.is_group_by: |
|
|
|
res = \ |
|
|
|
"""<filter string="%s" context="{'group_by':'%s'}"/>""" % ( |
|
|
|
self.field_description, self.name) |
|
|
|
"""<filter name="%s" string="%s" |
|
|
|
context="{'group_by':'%s'}"/>""" % ( |
|
|
|
self.field_description.lower().replace(' ', '_'), |
|
|
|
self.field_description, self.name |
|
|
|
) |
|
|
|
return res |