From 6f32784a99d07151166cbff8a1eeba2f0bb23671 Mon Sep 17 00:00:00 2001 From: Lude Ribeiro Date: Thu, 22 Jul 2021 15:45:31 -0300 Subject: [PATCH] Tirando o nome das UFs deixando so siglas --- sigi/apps/convenios/reports.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/sigi/apps/convenios/reports.py b/sigi/apps/convenios/reports.py index 86295cd..983edee 100644 --- a/sigi/apps/convenios/reports.py +++ b/sigi/apps/convenios/reports.py @@ -120,19 +120,19 @@ class ConvenioReport(ReportDefault): ), ] - groups = [ - ReportGroup(attribute_name='casa_legislativa.municipio.uf', - band_header=ReportBand( - height=0.7 * cm, - elements=[ - ObjectValue(attribute_name='casa_legislativa.municipio.uf', - get_Value=lambda instance: '%s: %s' % (_(u'Casa Legislativa'), instance.casa_legislativa.uf) - ) - ], - borders={'top': True}, - ) - ) - ] + #groups = [ + # ReportGroup(attribute_name='casa_legislativa.municipio.uf', + # band_header=ReportBand( + # height=0.7 * cm, + # elements=[ + # ObjectValue(attribute_name='casa_legislativa.municipio.uf', + # get_Value=lambda instance: '%s: %s' % (_(u'Casa Legislativa'), instance.casa_legislativa.uf) + # ) + # ], + # borders={'top': True}, + # ) + # ) + #] class ConvenioReportSemAceite(ConvenioReport):