增加上传支持格式

This commit is contained in:
mgw
2025-04-18 13:00:45 +08:00
parent 53d4be596f
commit 29ee275840

View File

@@ -6,7 +6,7 @@
<field name="arch" type="xml">
<form>
<group>
<field name="file_data" widget="binary" options="{'accepted_file_extensions': '.xlsx'}"/>
<field name="file_data" widget="binary" options="{'accepted_file_extensions': '.xls,.xlsx'}"/>
</group>
<footer>
<button string="确认导入" name="import_data" type="object" class="btn-primary"/>