[ADD] stock_landed_costs : Added the button to compute landed cost.
bzr revid: mdi@tinyerp.com-20140409131155-e023ykx0uwkqq9qf
This commit is contained in:
parent
6cbe02bcbc
commit
babb4debb3
|
@ -92,6 +92,9 @@ class stock_landed_cost(osv.osv):
|
||||||
def button_cancel(self, cr ,uid, ids, context=None):
|
def button_cancel(self, cr ,uid, ids, context=None):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
def compute_landed_cost(self, cr, uid, ids, context=None):
|
||||||
|
return True
|
||||||
|
|
||||||
class stock_landed_cost_lines(osv.osv):
|
class stock_landed_cost_lines(osv.osv):
|
||||||
_name = 'stock.landed.cost.lines'
|
_name = 'stock.landed.cost.lines'
|
||||||
_description = 'Stock Landed Cost Lines'
|
_description = 'Stock Landed Cost Lines'
|
||||||
|
|
|
@ -58,6 +58,7 @@
|
||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
<button name="compute_landed_cost" string="Compute" type="object" class="oe_right"/>
|
||||||
<group>
|
<group>
|
||||||
<separator string="Valuation Adjustments" colspan="4"/>
|
<separator string="Valuation Adjustments" colspan="4"/>
|
||||||
<group>
|
<group>
|
||||||
|
|
Loading…
Reference in New Issue