mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[13.0][FIX]attach_xml_file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user