Skip to content

Commit 318219b

Browse files
committed
[FIX] base: allow importing translation files
Same missing required invisible field issue as mentioned in odoo#178175 opw-4139872 closes odoo#178629 X-original-commit: 1de2087 Signed-off-by: Louis Wicket (wil) <[email protected]>
1 parent 740bed3 commit 318219b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

odoo/addons/base/wizard/base_import_language_views.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<field name="name" placeholder="e.g. English"/>
1212
<field name="code" string="Code" placeholder="e.g. en_US"/>
1313
<field name="data" filename="filename" options="{'accepted_file_extensions': '.csv,.po'}"/>
14+
<field name="filename" invisible="1"/> <!-- The name is needed in the BinaryField component used to upload the file -->
1415
<field name="overwrite" groups="base.group_no_one"/>
1516
</group>
1617
<footer>

0 commit comments

Comments
 (0)