Browse Source

Apr 01: [FIX] Bug Fixed 'base_accounting_kit'

pull/313/head
RisvanaCybro 1 year ago
parent
commit
c1f2d98ab2
  1. 2
      base_accounting_kit/__manifest__.py
  2. 2
      base_accounting_kit/models/account_asset.py

2
base_accounting_kit/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': 'Odoo 17 Full Accounting Kit', 'name': 'Odoo 17 Full Accounting Kit',
'version': '17.0.1.0.2', 'version': '17.0.1.0.3',
'category': 'Accounting', 'category': 'Accounting',
'summary': """Odoo 17 Accounting, Odoo 17 Accounting Reports, Odoo Accounting, Odoo17 Financial Reports, Odoo17 Asset, Odoo17 Profit and Loss, PDC, Followups, Odo17""", '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 'description': """ Odoo 17 Accounting, The module used to manage the Full

2
base_accounting_kit/models/account_asset.py

@ -723,7 +723,7 @@ class AccountAssetDepreciationLine(models.Model):
company_currency = line.asset_id.company_id.currency_id company_currency = line.asset_id.company_id.currency_id
current_currency = line.asset_id.currency_id current_currency = line.asset_id.currency_id
amount = current_currency.with_context( 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)' % ( asset_name = line.asset_id.name + ' (%s/%s)' % (
line.sequence, len(line.asset_id.depreciation_line_ids)) line.sequence, len(line.asset_id.depreciation_line_ids))
partner = self.env['res.partner']._find_accounting_partner( partner = self.env['res.partner']._find_accounting_partner(

Loading…
Cancel
Save