[13.0][FIX]attach_xml_file

This commit is contained in:
Luc De Meyer
2020-03-03 20:54:13 +01:00
parent 29d8f84ec8
commit 340ccf736e

View File

@@ -85,7 +85,7 @@ class IntrastatCommon(models.AbstractModel):
"res_id": self.id,
"res_model": self._name,
"datas": base64.encodestring(xml_string),
"datas_fname": filename,
"store_fname": filename,
}
)
return attach.id