Skip to content

Commit

Permalink
[IMP] mis_builder_budget: allow Analytic Accounts on account budget
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Aug 27, 2024
1 parent 754ef41 commit 40ba77f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mis_builder_budget/models/mis_budget_by_account_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class MisBudgetByAccountItem(models.Model):
_inherit = ["mis.budget.item.abstract", "prorata.read_group.mixin"]
_inherit = ["mis.budget.item.abstract", "prorata.read_group.mixin", "analytic.mixin"]
_name = "mis.budget.by.account.item"
_description = "MIS Budget Item (by Account)"
_order = "budget_id, date_from, account_id"
Expand Down
4 changes: 4 additions & 0 deletions mis_builder_budget/views/mis_budget_by_account_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<field name="budget_date_to" column_invisible="1" />
<field name="name" />
<field name="account_id" />
<field name="analytic_distribution" widget="analytic_distribution"
optional="show"
groups="analytic.group_analytic_accounting"
/>
<field name="date_range_id" />
<field name="date_from" />
<field name="date_to" />
Expand Down

0 comments on commit 40ba77f

Please sign in to comment.