[IMP] base_import_module: tell user what they actually can import
This commits adds a message to the module import wizard to make it more clear what kind of modules can be imported through the front end. project : RD feedback task : [base_import_module] what it is not for. opw-1939967 closes odoo/odoo#31057
This commit is contained in:
committed by
Nicolas Martinelli
parent
5ebcd188f3
commit
7dea5c418b
@@ -132,6 +132,11 @@ msgstr ""
|
||||
msgid "No file sent."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_import_module
|
||||
#: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
|
||||
msgid "Note: you can only import data modules (.xml files and static assets)"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_import_module
|
||||
#: code:addons/base_import_module/controllers/main.py:25
|
||||
#, python-format
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<form string="Import module">
|
||||
<field name="state" invisible="1"/>
|
||||
<separator string="Import Module" colspan="4"/>
|
||||
<p class="alert alert-warning">Note: you can only import data modules (.xml files and static assets)</p>
|
||||
<group states="init" col="4">
|
||||
<label string="Select module package to import (.zip file):" colspan="4"/>
|
||||
<field name="module_file" colspan="4"/>
|
||||
|
||||
Reference in New Issue
Block a user