我需要从openerp upload字段中删除save as按钮。有人可以帮助我。
答案 0 :(得分:1)
首先走到路径下方。
7.0-web => addons => web => static => src => xml => base.xml
现在找到class="oe_form_binary_file_save_data"
并评论整个<a> tag.
<!--a class="oe_form_binary_file_save_data">
<button class="oe_button oe_form_binary_file_save" type="button" title="Save As">
<img t-att-src='_s + "/web/static/src/img/icons/gtk-save.png"'/>
<span>Save As</span>
</button>
</a-->
刷新浏览器后,它将删除“另存为”按钮。