From c1f2d98ab24f71e4689ab914b200c40f5767ebff Mon Sep 17 00:00:00 2001 From: RisvanaCybro Date: Mon, 1 Apr 2024 13:19:02 +0530 Subject: [PATCH] Apr 01: [FIX] Bug Fixed 'base_accounting_kit' --- base_accounting_kit/__manifest__.py | 2 +- base_accounting_kit/models/account_asset.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base_accounting_kit/__manifest__.py b/base_accounting_kit/__manifest__.py index 635e88d4e..e1412fbd0 100644 --- a/base_accounting_kit/__manifest__.py +++ b/base_accounting_kit/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { 'name': 'Odoo 17 Full Accounting Kit', - 'version': '17.0.1.0.2', + 'version': '17.0.1.0.3', 'category': 'Accounting', 'summary': """Odoo 17 Accounting, Odoo 17 Accounting Reports, Odoo Accounting, Odoo17 Financial Reports, Odoo17 Asset, Odoo17 Profit and Loss, PDC, Followups, Odo17""", 'description': """ Odoo 17 Accounting, The module used to manage the Full diff --git a/base_accounting_kit/models/account_asset.py b/base_accounting_kit/models/account_asset.py index 4e0d38dd1..59af44548 100644 --- a/base_accounting_kit/models/account_asset.py +++ b/base_accounting_kit/models/account_asset.py @@ -723,7 +723,7 @@ class AccountAssetDepreciationLine(models.Model): company_currency = line.asset_id.company_id.currency_id current_currency = line.asset_id.currency_id amount = current_currency.with_context( - date=depreciation_date).compute(line.amount, company_currency) + date=depreciation_date)._convert(line.amount, company_currency) asset_name = line.asset_id.name + ' (%s/%s)' % ( line.sequence, len(line.asset_id.depreciation_line_ids)) partner = self.env['res.partner']._find_accounting_partner(