[ADD] stock_landed_costs : Added the button to compute landed cost.

bzr revid: mdi@tinyerp.com-20140409131155-e023ykx0uwkqq9qf
This commit is contained in:
DJ Patel 2014-04-09 18:41:55 +05:30
parent 6cbe02bcbc
commit babb4debb3
2 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,9 @@ class stock_landed_cost(osv.osv):
def button_cancel(self, cr ,uid, ids, context=None):
return True
def compute_landed_cost(self, cr, uid, ids, context=None):
return True
class stock_landed_cost_lines(osv.osv):
_name = 'stock.landed.cost.lines'
_description = 'Stock Landed Cost Lines'

View File

@ -58,6 +58,7 @@
</field>
</group>
</group>
<button name="compute_landed_cost" string="Compute" type="object" class="oe_right"/>
<group>
<separator string="Valuation Adjustments" colspan="4"/>
<group>