stock_usability: responsible_id is now hidden by default in tree view

This commit is contained in:
Alexis de Lattre
2021-02-02 18:40:27 +01:00
parent b2ce8f0aca
commit 9c30d4ef53
2 changed files with 24 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ This module has been written by Alexis de Lattre from Akretion <alexis.delattre@
'views/stock_picking.xml',
'views/stock_warehouse.xml',
'views/stock_warehouse_orderpoint.xml',
'views/product.xml',
'views/procurement_group.xml',
'views/procurement_scheduler_log.xml',
'security/ir.model.access.csv',

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 Akretion (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="view_stock_product_template_tree" model="ir.ui.view">
<field name="name">stock.usability.product.template.tree</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="stock.view_stock_product_template_tree" />
<field name="arch" type="xml">
<field name="responsible_id" position="attributes">
<attribute name="optional">hide</attribute>
</field>
</field>
</record>
</odoo>