IMP make module filter to installable
This commit is contained in:
@@ -21,7 +21,7 @@ By default, users in the Partner Contact group also have create/write access on
|
||||
|
||||
It also adds a log message at INFO level when sending an email via SMTP.
|
||||
|
||||
It displays the local modules by default in tree view (instead of Kanban) without filter.
|
||||
It displays the local modules with installable filter.
|
||||
A group by 'State' is added to module search view.
|
||||
""",
|
||||
'author': 'Akretion',
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user