diff --git a/base_account_budget/__manifest__.py b/base_account_budget/__manifest__.py index 725cfc8f1..f660dc61a 100644 --- a/base_account_budget/__manifest__.py +++ b/base_account_budget/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { 'name': 'Odoo 17 Budget Management', - 'version': '17.0.1.0.1', + 'version': '17.0.1.0.2', 'category': 'Accounting', 'summary': """ Budget Management for Odoo 17 Community Edition. """, 'description': """ This module allows accountants to manage analytic and diff --git a/base_account_budget/doc/RELEASE_NOTES.md b/base_account_budget/doc/RELEASE_NOTES.md index 82c8294a2..37d43edaf 100644 --- a/base_account_budget/doc/RELEASE_NOTES.md +++ b/base_account_budget/doc/RELEASE_NOTES.md @@ -8,4 +8,9 @@ #### 02.01.2024 #### Version 17.0.1.0.1 #### FIX -- Bug Fixed, states and tracking_visibility parameter removed from the fields of budget.budget model. \ No newline at end of file +- Bug Fixed, states and tracking_visibility parameter removed from the fields of budget.budget model. + +#### 19.02.2025 +#### Version 17.0.1.0.2 +#### FIX +- Bug Fixed, sum was not viewing in tree view in budget form view. \ No newline at end of file diff --git a/base_account_budget/models/account_budget.py b/base_account_budget/models/account_budget.py index 4e872f00c..6469c1950 100644 --- a/base_account_budget/models/account_budget.py +++ b/base_account_budget/models/account_budget.py @@ -124,6 +124,10 @@ class BudgetLines(models.Model): company_id = fields.Many2one(related='budget_id.company_id', comodel_name='res.company', string='Company', store=True, readonly=True) + currency_id = fields.Many2one('res.currency', string='Currency', + required=True, help="Currency", + default=lambda self: self.env.user.company_id. + currency_id) def _compute_practical_amount(self): for line in self: diff --git a/base_account_budget/views/account_budget_views.xml b/base_account_budget/views/account_budget_views.xml index 85c8fadda..afc7fffd3 100644 --- a/base_account_budget/views/account_budget_views.xml +++ b/base_account_budget/views/account_budget_views.xml @@ -129,6 +129,7 @@ groups="analytic.group_analytic_accounting" required="1"/> +