[MERGE] 574785: stock: fix 'Upstream Traceability' shown as 'Downstream...'
[odoo/odoo.git] / addons / stock / stock_view.xml
index 7567cab..d9cc452 100644 (file)
                     <group col="2" colspan="2">
                         <separator string="Traceability" colspan="2"/>
                         <field name="stock_available" colspan="2"/>
-                        <button name="action_traceability" string="Upstream Traceability" type="object" context="{'type': 'move_history_ids', 'field': 'prodlot_id'}" icon="gtk-go-up" colspan="2"/>
-                        <button name="action_traceability" string="Downstream Traceability" type="object" context="{'field': 'prodlot_id'}" icon="gtk-go-down" colspan="2"/>
+                        <button name="action_traceability" string="Upstream Traceability" type="object" context="{'type': 'move_history_ids2', 'field': 'prodlot_id'}" icon="gtk-go-up" colspan="2"/>
+                        <button name="action_traceability" string="Downstream Traceability" type="object" context="{'type': 'move_history_ids', 'field': 'prodlot_id'}" icon="gtk-go-down" colspan="2"/>
                     </group>
                     <notebook colspan="4">
                         <page string="Revisions">
                     <field name="product_qty" />
                     <field name="product_uom" string="UoM"/>
                     <field name="date"/>
+                    <field name="state"/>
                     <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
                 </tree>
             </field>