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

@@ -27,6 +27,18 @@
<xpath expr="//field[@name='move_ids_without_package']/tree/field[@name='product_uom_qty']" position="attributes">
<attribute name="sum">1</attribute>
</xpath>
<xpath expr="//field[@name='move_ids_without_package']/tree/field[@name='location_id']" position="replace"/>
<xpath expr="//field[@name='move_ids_without_package']/tree/field[@name='location_dest_id']" position="replace"/>
<xpath expr="//field[@name='move_ids_without_package']/tree/field[@name='product_id']" position="after">
<field name="location_id" groups="stock.group_stock_multi_locations" readonly="1"/>
<field name="location_dest_id" groups="stock.group_stock_multi_locations" readonly="1"/>
</xpath>
<xpath expr="//field[@name='move_line_ids_without_package']/tree/field[@name='location_id']" position="attributes">
<attribute name="attrs">{}</attribute>
</xpath>
<xpath expr="//field[@name='move_line_ids_without_package']/tree/field[@name='location_dest_id']" position="attributes">
<attribute name="attrs">{}</attribute>
</xpath>
</field>
</record>
@@ -145,12 +157,12 @@
</record>
-->
<!--
<record id="view_move_picking_form" model="ir.ui.view">
<field name="name">stock.usability.stock.move.picking.form</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_picking_form" />
<field name="arch" type="xml">
<!--
<field name="state" position="before">
<button type="object" name="button_do_unreserve" string="Unreserve"
groups="stock.group_stock_user"
@@ -177,9 +189,12 @@
</page>
</notebook>
</group>
-->
<field name="move_dest_ids" position="before">
<field name="rule_id" readonly="1"/>
</field>
</field>
</record>
-->
<record id="view_move_picking_tree" model="ir.ui.view">
<field name="name">stock_usability.src_location.in.picking.form</field>