IMP make module filter to installable

This commit is contained in:
David Beal
2017-08-16 13:45:12 +02:00
parent 61d576451e
commit d0cdc96fbf
2 changed files with 5 additions and 2 deletions

View File

@@ -11,6 +11,9 @@
<field name="model">ir.module.module</field>
<field name="inherit_id" ref="base.view_module_filter"/>
<field name="arch" type="xml">
<xpath expr="//filter[@name='extra']" position="after">
<filter name="installable" string="Installable" domain="[('state', '!=', 'uninstallable')]"/>
</xpath>
<group expand="0" position="inside">
<filter name="state_groupby" string="State" context="{'group_by': 'state'}"/>
</group>
@@ -18,7 +21,7 @@
</record>
<record id="base.open_module_tree" model="ir.actions.act_window">
<field name="context">{}</field>
<field name="context">{'search_default_installable': 1}</field>
</record>
</odoo>