Browse Source

Feb 27 [UPDT] : Updated 'base_account_budget'

pull/317/merge
AjmalCybro 2 months ago
parent
commit
bf2ba838d6
  1. 2
      base_account_budget/__manifest__.py
  2. 7
      base_account_budget/doc/RELEASE_NOTES.md
  3. 4
      base_account_budget/models/account_budget.py
  4. 1
      base_account_budget/views/account_budget_views.xml

2
base_account_budget/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': 'Odoo 17 Budget Management', 'name': 'Odoo 17 Budget Management',
'version': '17.0.1.0.1', 'version': '17.0.1.0.2',
'category': 'Accounting', 'category': 'Accounting',
'summary': """ Budget Management for Odoo 17 Community Edition. """, 'summary': """ Budget Management for Odoo 17 Community Edition. """,
'description': """ This module allows accountants to manage analytic and 'description': """ This module allows accountants to manage analytic and

7
base_account_budget/doc/RELEASE_NOTES.md

@ -8,4 +8,9 @@
#### 02.01.2024 #### 02.01.2024
#### Version 17.0.1.0.1 #### Version 17.0.1.0.1
#### FIX #### FIX
- Bug Fixed, states and tracking_visibility parameter removed from the fields of budget.budget model. - 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.

4
base_account_budget/models/account_budget.py

@ -124,6 +124,10 @@ class BudgetLines(models.Model):
company_id = fields.Many2one(related='budget_id.company_id', company_id = fields.Many2one(related='budget_id.company_id',
comodel_name='res.company', comodel_name='res.company',
string='Company', store=True, readonly=True) 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): def _compute_practical_amount(self):
for line in self: for line in self:

1
base_account_budget/views/account_budget_views.xml

@ -129,6 +129,7 @@
groups="analytic.group_analytic_accounting" groups="analytic.group_analytic_accounting"
required="1"/> required="1"/>
<field name="date_from"/> <field name="date_from"/>
<field name="currency_id" invisible="1"/>
<field name="date_to"/> <field name="date_to"/>
<field name="paid_date" <field name="paid_date"
groups="base.group_no_one"/> groups="base.group_no_one"/>

Loading…
Cancel
Save