Skip to content

Commit

Permalink
[IMP] account_asset: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hmo-odoo committed Oct 23, 2012
1 parent 0128b06 commit 6e20739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/account_asset/account_asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def compute_depreciation_board(self, cr, uid, ids, context=None):
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 = {
Expand Down

0 comments on commit 6e20739

Please sign in to comment.