[FIX] base_import_module: fix form view layout

The commit odoo/odoo@a72007508a fixed the dialog for the import of
a module, but broke the (shared) view for the dialog of the installation
of an industry. This commit fixes both dialog views.

closes odoo/odoo#153013

Signed-off-by: Pierre Masereel (pim) <pim@odoo.com>
This commit is contained in:
vava-odoo
2024-02-12 20:24:06 +00:00
parent 6ba48be96a
commit df2a5d841a
@@ -8,9 +8,7 @@
<form string="Install the application">
<field name="state" invisible="1"/>
<p class="alert alert-warning" role="alert" invisible="state == 'done' or context.get('data_module')">Note: you can only import data modules (.xml files and static assets)</p>
<group>
<field name="modules_dependencies" readonly="1" nolabel="1" invisible="state == 'done'"/>
</group>
<field name="modules_dependencies" readonly="1" nolabel="1" invisible="state == 'done'"/>
<group invisible="state != 'init'">
<field name="module_file" string="Module file (.zip)" options="{'accepted_file_extensions': '.zip'}" invisible="context.get('data_module')"/>
<field name="force" groups="base.group_no_one"/>