[FIX] base_import_module: fix form view layout
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/odoo#147271 Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
@@ -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'">
|
||||
|
||||
Reference in New Issue
Block a user