[IMP] account_asset: comment

bzr revid: hmo@tinyerp.com-20121023100729-j8veyhmidat0nppp
This commit is contained in:
Harry (OpenERP) 2012-10-23 15:37:29 +05:30
parent 0128b0698d
commit 6e20739822
1 changed files with 1 additions and 0 deletions

View File

@ -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 = {