Skip to content

Commit

Permalink
[FIX] base_import_module: fix form view layout
Browse files Browse the repository at this point in the history
Before this commit, the layout of the import module form view (in
the dialog) was broken. This was due to unnecessary and wrong use
of col/colspan attributes.

closes odoo#147271

Signed-off-by: Pierre Paridans (app) <app@odoo.com>
  • Loading branch information
aab-odoo committed Dec 22, 2023
1 parent f6d2e21 commit a720075
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions addons/base_import_module/views/base_import_module_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
<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 col="4">
<field name="modules_dependencies" readonly="1" colspan="4" nolabel="1" invisible="state == 'done'"/>
<group>
<field name="modules_dependencies" readonly="1" nolabel="1" invisible="state == 'done'"/>
</group>
<group invisible="state != 'init'" col="4">
<field name="module_file" string="Module file (.zip)" colspan="4" options="{'accepted_file_extensions': '.zip'}" invisible="context.get('data_module')"/>
<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"/>
<field name="with_demo" string="Import demo data"/>
</group>
<group invisible="state != 'done'" col="4">
<field name="import_message" colspan="4" nolabel="1" readonly="1"/>
<group invisible="state != 'done'">
<field name="import_message" nolabel="1" readonly="1"/>
</group>
<footer>
<div invisible="state != 'init'">
Expand Down

0 comments on commit a720075

Please sign in to comment.