Better display of technical name of module in kanban view

Small improvements in stock_usability, sale_purchase_no_product_template_menu and mrp_no_product_template_menu
This commit is contained in:
Alexis de Lattre
2019-07-10 10:45:14 +02:00
parent 06e0617026
commit 60a5fa7a33
6 changed files with 38 additions and 8 deletions

View File

@@ -1,12 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
© 2015-2016 Akretion (http://www.akretion.com/)
Copyright 2015-2019 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="module_view_kanban" model="ir.ui.view">
<field name="name">Better display of module technical name</field>
<field name="model">ir.module.module</field>
<field name="inherit_id" ref="base.module_view_kanban"/>
<field name="arch" type="xml">
<xpath expr="//h4[@class='o_kanban_record_title']/code[@groups='base.group_no_one']" position="before">
<br/>
</xpath>
</field>
</record>
<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"/>
@@ -24,4 +35,5 @@
<field name="context">{'search_default_installable': 1}</field>
</record>
</odoo>