You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

49 lines
2.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_module_filter" model="ir.ui.view">
<field name="name">ir.module.module.list.select</field>
<field name="inherit_id" ref="base.view_module_filter"/>
<field name="model">ir.module.module</field>
<field name="arch" type="xml">
<xpath expr="//filter[@name='installed']" position="before">
<filter string="Recently updated"
name="Recently updated"
domain="[('state','=','installed')]"
groups="developer_mode.odoo_developer_group"/>
</xpath>
<xpath expr="//filter[last()]" position="after">
<filter string="Latest update"
name="Latest update"
groups="developer_mode.odoo_developer_group"/>
</xpath>
</field>
</record>
<record model="ir.ui.view" id="developer_mode_module_view_kanban">
<field name="name">Modules Kanban</field>
<field name="inherit_id" ref="base.module_view_kanban"/>
<field name="model">ir.module.module</field>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('oe_module_action')]/div" position="replace">
</xpath>
<xpath expr="//button[@name='button_immediate_install']" position="after">
<button type="object" class="btn btn-primary pull-right btn-sm" name="button_immediate_upgrade" states="installed"
groups="developer_mode.odoo_developer_group">Updater</button>
</xpath>
</field>
</record>
<!--<template id="contact" inherit_id="web.login_layout">-->
<!--<xpath expr="//div[@class='container mb-5 pb-5']" position="before">-->
<!--<t t-if="True" groups="developer_mode.odoo_developer_group">-->
<!--<div style="height:20px;text-align:center;background-color:#800070b3;color:#ffffff;">-->
<!--<t t-esc="request.session.db"/>-->
<!--</div>-->
<!--</t>-->
<!--</xpath>-->
<!--</template>-->
</data>
</odoo>