[IMP] base: allowed format for import translation

before this commit, in the import translation
wizard, if user try to import a file
currently it will show any file types to
upload even though supported formats are
csv and po

after this commit, if user try to import a
file only csv and po files will be shown

closes odoo/odoo#128807

Signed-off-by: Raphael Collet <rco@odoo.com>
This commit is contained in:
mehjabinfarsana
2023-09-11 22:41:02 +00:00
parent 0ffd04e7de
commit 0e992e3a3e
@@ -10,7 +10,7 @@
<group>
<field name="name" placeholder="e.g. English"/>
<field name="code" string="Code" placeholder="e.g. en_US"/>
<field name="data" filename="filename"/>
<field name="data" filename="filename" options="{'accepted_file_extensions': '.csv,.po'}"/>
<field name="filename" invisible="1"/>
<field name="overwrite" groups="base.group_no_one"/>
</group>