[MERGE] 574785: stock: fix 'Upstream Traceability' shown as 'Downstream...'
authorXavier ALT <xal@openerp.com>
Wed, 27 Feb 2013 12:59:20 +0000 (13:59 +0100)
committerXavier ALT <xal@openerp.com>
Wed, 27 Feb 2013 12:59:20 +0000 (13:59 +0100)
bzr revid: xal@openerp.com-20130227125920-fv9fi0s7tm6tkj11

1  2 
addons/stock/stock_view.xml

                      <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': '', 'field': 'prodlot_id'}" icon="gtk-go-up" 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">