[IMP] stock: display chained moves
authorAlexis de Lattre <alexis@via.ecp.fr>
Mon, 27 Oct 2014 23:25:53 +0000 (00:25 +0100)
committerMartin Trigaux <mat@odoo.com>
Mon, 3 Nov 2014 17:04:39 +0000 (18:04 +0100)
Add field move_dest_id in stock.move form view for better debugging of complexe stock flows.

addons/stock/stock_view.xml

index 0a19b1a..338e7ef 100644 (file)
                         <group name="destination_grp" string="Destination" groups="stock.group_locations">
                             <field name="location_dest_id" />
                             <field name="partner_id" context="{'contact_display':'partner'}" />
+                            <field name="move_dest_id" groups="base.group_no_one" readonly="1"/>
                         </group>
                         <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
                             <field name="reserved_quant_ids"/>
                         <field name="create_date" invisible="1"/>
                         <field name="date"/>
                         <field name="date_expected" on_change="onchange_date(date,date_expected)"/>
+                        <field name="move_dest_id" groups="base.group_no_one" readonly="1"/>
                     </group>
                     <group string="Locations" groups="stock.group_locations">
                         <field name="location_id" domain="[('usage','&lt;&gt;','view')]"/>