diff --git a/base_accounting_kit/__manifest__.py b/base_accounting_kit/__manifest__.py index baabc43b4..c3a13d968 100644 --- a/base_accounting_kit/__manifest__.py +++ b/base_accounting_kit/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'Odoo 16 Full Accounting Kit', - 'version': '16.0.2.0.6', + 'version': '16.0.2.0.7', 'category': 'Accounting', 'live_test_url': 'https://www.youtube.com/watch?v=peAp2Tx_XIs', 'summary': """ Asset and Budget Management, diff --git a/base_accounting_kit/doc/RELEASE_NOTES.md b/base_accounting_kit/doc/RELEASE_NOTES.md index d3f535f62..0ae52fc8b 100644 --- a/base_accounting_kit/doc/RELEASE_NOTES.md +++ b/base_accounting_kit/doc/RELEASE_NOTES.md @@ -23,4 +23,9 @@ #### 11.07.2023 #### Version 16.0.2.0.5 #### UPDT -- Cash journal Bug Fix \ No newline at end of file +- Cash journal Bug Fix + +#### 17.08.2023 +#### Version 16.0.2.0.7 +#### UPDT +- Asset type Bug Fix \ No newline at end of file diff --git a/base_accounting_kit/models/account_asset.py b/base_accounting_kit/models/account_asset.py index 72fb2bec7..9ebf7432e 100644 --- a/base_accounting_kit/models/account_asset.py +++ b/base_accounting_kit/models/account_asset.py @@ -54,12 +54,12 @@ class AccountAssetCategory(models.Model): domain="[('account_type', '!=', 'asset_receivable'),('account_type', '!=', 'liability_payable'),('account_type', '!=', 'asset_cash'),('account_type', '!=', 'liability_credit_card'),('deprecated', '=', False)]", help="Account used to record the purchase of the asset at its original price.") account_depreciation_id = fields.Many2one( - 'account.account', string='Depreciation Entries: Asset Account', + 'account.account', string='Depreciation Account', required=True, domain="[('account_type', '!=', 'asset_receivable'),('account_type', '!=', 'liability_payable'),('account_type', '!=', 'asset_cash'),('account_type', '!=', 'liability_credit_card'),('deprecated', '=', False),('company_id', '=', company_id)]", help="Account used in the depreciation entries, to decrease the asset value.") account_depreciation_expense_id = fields.Many2one( - 'account.account', string='Depreciation Entries: Expense Account', + 'account.account', string='Expense Account', required=True, domain="[('account_type', '!=', 'asset_receivable'),('account_type', '!=','liability_payable'),('account_type', '!=', 'asset_cash'),('account_type', '!=','liability_credit_card'),('deprecated', '=', False),('company_id', '=', company_id)]", help="Account used in the periodical entries, to record a part of the asset as expense.") diff --git a/base_accounting_kit/views/account_asset_views.xml b/base_accounting_kit/views/account_asset_views.xml index baedc0349..47bedea1a 100644 --- a/base_accounting_kit/views/account_asset_views.xml +++ b/base_accounting_kit/views/account_asset_views.xml @@ -21,7 +21,7 @@ - + @@ -35,13 +35,13 @@