[ADD] stock_reception_usability

This commit is contained in:
Kevin.roche
2021-11-29 13:24:24 +01:00
committed by clementmbr
parent e5cad2635d
commit dbedf6145f
6 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_picking_form" model="ir.ui.view">
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='product_uom']" position="after">
<field name="location_dest_list" />
</xpath>
<xpath expr="//field[@name='product_uom_qty']" position="attributes">
<attribute
name="attrs"
>{'column_invisible': [('parent.state', '=', 'done')]}</attribute>
</xpath>
<xpath expr="//field[@name='move_ids_without_package']" position="before">
<button
name="action_fill_quantity_done"
type="object"
string="Fill Done Quantity"
class="btn btn-primary"
>
</button>
</xpath>
</field>
</record>
</odoo>