77
76
# compute amount into company currency
78
77
amount = currency_obj.compute(cr, uid, current_currency, company_currency, amount, context=context)
79
78
residual_amount -= amount
89
88
depreciation_lin_obj.create(cr, uid, vals, context=context)
90
89
# Considering Depr. Period as months
91
90
depreciation_date = (datetime(year, month, day) + relativedelta(months=+asset.method_period))