<?xml version="1.0"?>
<tree string="Moves" create="0" default_order="date desc">
                    <field name="date" groups="base.group_no_one" decoration-danger="(state not in ('cancel','done')) and date &gt; current_date"/>
                    <field name="reference"/>
                    <field name="picking_type_id" invisible="1"/>
                    <field name="location_usage" invisible="1"/>
                    <field name="location_dest_usage" invisible="1"/>
                    <field name="product_id"/>
                    <field name="location_id" options="{'no_create': True}" string="From" decoration-muted="location_usage not in ('internal','transit')"/>
                    <field name="location_dest_id" options="{'no_create': True}" string="To" decoration-muted="location_dest_usage not in ('internal','transit')"/>
                    <field name="product_packaging_id" optional="hide" groups="product.group_stock_packaging"/>
                    <field name="product_uom_qty" string="Quantity" sum="Total Quantity" decoration-danger="(location_usage in ('internal','transit')) and (location_dest_usage not in ('internal','transit'))" decoration-success="(location_usage not in ('internal','transit')) and (location_dest_usage in ('internal','transit'))"/>
                    <field name="product_uom" options="{'no_open': True, 'no_create': True}" string="Unit" groups="uom.group_uom"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                    <field name="state" widget="badge" optional="show" decoration-danger="state=='cancel'" decoration-info="state== 'assigned'" decoration-muted="state == 'draft'" decoration-success="state == 'done'" decoration-warning="state not in ('draft','cancel','done','assigned')"/>
                </tree>
            