[MERGE] stock: fix upstream/downstream traceability actions on stock.tracking form
bzr revid: rco@openerp.com-20120111150942-1n1uvga1mcenlmhw
This commit is contained in:
@@ -529,9 +529,8 @@ class stock_tracking(osv.osv):
|
||||
@param context: A standard dictionary
|
||||
@return: A dictionary of values
|
||||
"""
|
||||
value={}
|
||||
value=self.pool.get('action.traceability').action_traceability(cr,uid,ids,context)
|
||||
return value
|
||||
return self.pool.get('action.traceability').action_traceability(cr,uid,ids,context)
|
||||
|
||||
stock_tracking()
|
||||
|
||||
#----------------------------------------------------------
|
||||
|
||||
@@ -217,9 +217,9 @@
|
||||
<group col="2" colspan="2">
|
||||
<separator string="Traceability" colspan="4"/>
|
||||
<button name="action_traceability" icon="gtk-go-up" string="Upstream traceability" type="object"
|
||||
context="{'type': '','field': ''}" colspan="2"/>
|
||||
colspan="2"/>
|
||||
<button name="action_traceability" icon="gtk-go-down" string="Downstream traceability" type="object"
|
||||
context="{'type': 'move_history_ids','field': ''}" colspan="2"/>
|
||||
context="{'type': 'move_history_ids'}" colspan="2"/>
|
||||
</group>
|
||||
<notebook colspan="4">
|
||||
<page string="Stock Moves">
|
||||
|
||||
Reference in New Issue
Block a user