set name in lower case when clean it

pull/86/head
laetitia.gangloff@acsone.eu 2014-08-01 14:35:23 +02:00 committed by Stéphane Bidoul
parent e3595eb383
commit ad673e58cf
1 changed files with 1 additions and 1 deletions

View File

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