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.
 
 
 
 
 

48 lines
2.1 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"
domain="[('state','=','installed')]"
groups="developer_mode.odoo_developer_group"/>
</xpath>
<xpath expr="//filter[last()]" position="after">
<filter string="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')]/span" position="replace">
</xpath>
<xpath expr="//button[@name='button_immediate_install']" position="after">
<button type="object" class="btn btn-primary pull-right" name="button_immediate_upgrade" states="installed"
groups="developer_mode.odoo_developer_group">Update</button>
</xpath>
</field>
</record>
<template id="contact" inherit_id="web.menu_secondary">
<xpath expr="//span[@class='oe_logo_edit']" 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>