[IMP] account_asset: comment
bzr revid: hmo@tinyerp.com-20121023100729-j8veyhmidat0nppp
This commit is contained in:
parent
0128b0698d
commit
6e20739822
|
@ -161,6 +161,7 @@ class account_asset_asset(osv.osv):
|
|||
amount = self._compute_board_amount(cr, uid, asset, i, residual_amount, amount_to_depr, undone_dotation_number, posted_depreciation_line_ids, total_days, depreciation_date, context=context)
|
||||
company_currency = asset.company_id.currency_id.id
|
||||
current_currency = asset.currency_id.id
|
||||
# compute amount into company currency
|
||||
amount = currency_obj.compute(cr, uid, current_currency, company_currency, amount, context=context)
|
||||
residual_amount -= amount
|
||||
vals = {
|
||||
|
|
Loading…
Reference in New Issue