Browse Source

set name in lower case when clean it

pull/86/head
laetitia.gangloff@acsone.eu 10 years ago
committed by Stéphane Bidoul
parent
commit
ad673e58cf
  1. 2
      mis_builder/models/mis_builder.py

2
mis_builder/models/mis_builder.py

@ -60,7 +60,7 @@ def _utc_midnight(d, tz_name, add_day=0):
def _clean(varStr): def _clean(varStr):
return re.sub('\W|^(?=\d)', '_', varStr)
return re.sub('\W|^(?=\d)', '_', varStr).lower()
class mis_report_kpi(orm.Model): class mis_report_kpi(orm.Model):

Loading…
Cancel
Save