diff --git a/openerp/addons/base/__openerp__.py b/openerp/addons/base/__openerp__.py
index f1ceb9a0915..ab9231b129c 100644
--- a/openerp/addons/base/__openerp__.py
+++ b/openerp/addons/base/__openerp__.py
@@ -99,5 +99,6 @@
'installable': True,
'active': True,
'certificate': '0076807797149',
+ "css": [ 'static/src/css/modules.css' ],
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/openerp/addons/base/module/module_view.xml b/openerp/addons/base/module/module_view.xml
index d3fd31a3379..76aec91b98e 100644
--- a/openerp/addons/base/module/module_view.xml
+++ b/openerp/addons/base/module/module_view.xml
@@ -62,34 +62,37 @@
ir.module.module
kanban
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
- |
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Complex
+
+
Install
+
+
+
+
+
+
+
-
-
Modules
ir.module.module
@@ -194,7 +197,7 @@
Modules
ir.module.module
form
- tree,form,kanban
+ kanban,tree,form
You can install new modules in order to activate new features, menu, reports or data in your OpenERP instance. To install some modules, click on the button "Install" from the form view and then click on "Start Upgrade".
diff --git a/openerp/addons/base/static/src/css/modules.css b/openerp/addons/base/static/src/css/modules.css
new file mode 100644
index 00000000000..3b525679be1
--- /dev/null
+++ b/openerp/addons/base/static/src/css/modules.css
@@ -0,0 +1,39 @@
+.oe_module_icon, .oe_module_desc {
+ display: inline-block;
+ vertical-align: top;
+}
+
+.oe_module_icon {
+ width: 80px;
+ height: 80px;
+ padding: 4px;
+}
+
+.oe_module_desc {
+ width: 220px;
+ font-size: 13px;
+ padding: 2px 4px 8px;
+ color: #4c4c4c;
+}
+
+.oe_module_desc h4 {
+ margin: 0;
+ font-size: 13px;
+}
+
+.oe_module_desc h4 a {
+ color: #4c4c4c;
+}
+
+.oe_module_desc h4 a:hover {
+ text-decoration: underline;
+}
+
+.oe_module_desc p {
+ margin: 3px 0 5px;
+}
+
+.oe_kanban_record {
+ margin: 5px 0;
+ min-height: 100px;
+}
diff --git a/openerp/modules/module.py b/openerp/modules/module.py
index 27929010308..78f1f831920 100644
--- a/openerp/modules/module.py
+++ b/openerp/modules/module.py
@@ -251,7 +251,7 @@ def load_information_from_description_file(module):
info.setdefault('description', '')
info.setdefault('complexity', 'normal')
info.setdefault('application', False)
- info.setdefault('icon', '')
+ info.setdefault('icon', 'images/icon.png')
info['certificate'] = info.get('certificate') or None
info['web'] = info.get('web') or False
info['license'] = info.get('license') or 'AGPL-3'