如何从html表单消息/数据中获取文件/附件?

时间:2019-10-15 14:05:24

标签: python html file odoo attachment

我正在使用一些附件在odoo中创建活动,即 mail.activity ,但是当我创建活动时,我的活动是以HTML格式创建的。

<html><p><img class="img-fluid o_we_custom_image" src="undefined?access_token=9dd94d60-651f-4832-8cf0-26bc70330138" title=""><a href="/web/content/288?access_token=9dd94d60-651f-4832-8cf0-26bc70330138&amp;unique=5d8a7b0d2393d51df422782ad0daea40c123b12f&amp;download=true" class="o_image o_we_selected_image" title="index.html"></a> <br></p></html>

在上述HTML中,我的附件是 index.html 如何获取或如何获取该文件。

0 个答案:

没有答案