[ADD] module_usability
This commit is contained in:
0
module_usability/__init__.py
Normal file
0
module_usability/__init__.py
Normal file
29
module_usability/__openerp__.py
Normal file
29
module_usability/__openerp__.py
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
# © 2016 Akretion
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'Module Usability',
|
||||||
|
'version': '0.8',
|
||||||
|
'category': 'Base',
|
||||||
|
'summary': "Module views improved",
|
||||||
|
'description': """
|
||||||
|
Remove 'Application' filter, add group by 'State'
|
||||||
|
|
||||||
|
Why this module ?
|
||||||
|
|
||||||
|
- We don't install Applications modules directly but install lower level modules first
|
||||||
|
- We must take care of modules state: it's a really precious information
|
||||||
|
|
||||||
|
Contributors: David BEAL
|
||||||
|
""",
|
||||||
|
'author': 'Akretion',
|
||||||
|
'website': 'http://www.akretion.com',
|
||||||
|
'depends': [
|
||||||
|
'base',
|
||||||
|
],
|
||||||
|
'data': [
|
||||||
|
'view.xml',
|
||||||
|
],
|
||||||
|
'installable': True,
|
||||||
|
}
|
||||||
BIN
module_usability/static/src/description/icon.png
Normal file
BIN
module_usability/static/src/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 670 B |
21
module_usability/view.xml
Normal file
21
module_usability/view.xml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<openerp>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<record id="view_module_filter" model="ir.ui.view">
|
||||||
|
<field name="model">ir.module.module</field>
|
||||||
|
<field name="inherit_id" ref="base.view_module_filter"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//filter[@string='Category']" position="after">
|
||||||
|
<filter string="State" domain="[]" context="{'group_by':'state'}"/>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="base.open_module_tree" model="ir.actions.act_window">
|
||||||
|
<field name="res_model">ir.module.module</field>
|
||||||
|
<field name="context">{}</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
Reference in New Issue
Block a user