FIX double dot in filename

This commit is contained in:
Alexis de Lattre
2016-12-20 00:18:35 +01:00
committed by Elmeri Niemelä
parent afc389bdf0
commit 1203c24e30

View File

@@ -197,7 +197,7 @@ class Py3oParser(report_sxw):
# ... but odoo wants the whole data in memory anyways :) # ... but odoo wants the whole data in memory anyways :)
res = fd.read() res = fd.read()
return res, "." + filetype return res, filetype
def create(self, cr, uid, ids, data, context=None): def create(self, cr, uid, ids, data, context=None):
""" Override this function to handle our py3o report """ Override this function to handle our py3o report