在form 视图里面的header里直接用按钮上传文件到消息记录里面。


实现方式:直接在xml里面写
<header>
<widget name="attach_document" string="Attach Document" action="message_post"/>
</header>
根据自行条件是否隐藏。
看完记得点赞哦,笔芯
在form 视图里面的header里直接用按钮上传文件到消息记录里面。
实现方式:直接在xml里面写
<header>
<widget name="attach_document" string="Attach Document" action="message_post"/>
</header>
根据自行条件是否隐藏。
看完记得点赞哦,笔芯
本文标题:odoo12用按钮上传文件
本文链接:https://www.haomeiwen.com/subject/pqyxmhtx.html
网友评论