Add stock move link in product form which will open all stock moves of the particular product.
By: Husen(hda) bzr revid: mga@tinyerp.com-a49da52c359e07e24261f2862c70b2e0d98806e4
This commit is contained in:
parent
c9b556b1d7
commit
7128be0416
|
@ -841,6 +841,15 @@
|
|||
src_model="stock.location"
|
||||
name="Products"
|
||||
id="act_product_location_open"/>
|
||||
|
||||
<act_window
|
||||
domain="[('product_id','=',active_id)]"
|
||||
context="{'location': active_id}"
|
||||
res_model="stock.move"
|
||||
src_model="product.product"
|
||||
name="Stock Moves"
|
||||
id="act_product_stock_move_open"/>
|
||||
|
||||
<record model="ir.values" id="ir_act_product_location_open">
|
||||
<field name="key2">tree_but_open</field>
|
||||
<field name="model">stock.location</field>
|
||||
|
|
Loading…
Reference in New Issue