From 4bf7bc6952b85bbcfb3b63e26c0e092f2207f0ff Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Tue, 27 Aug 2024 21:23:11 +0100 Subject: [PATCH] [IMP] mis_builder_budget: allow Analytic Accounts on account budget --- mis_builder_budget/models/mis_budget_by_account_item.py | 6 +++++- mis_builder_budget/views/mis_budget_by_account_item.xml | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/mis_builder_budget/models/mis_budget_by_account_item.py b/mis_builder_budget/models/mis_budget_by_account_item.py index 72d8e83b7..7c00e3f6d 100644 --- a/mis_builder_budget/models/mis_budget_by_account_item.py +++ b/mis_builder_budget/models/mis_budget_by_account_item.py @@ -5,7 +5,11 @@ 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" diff --git a/mis_builder_budget/views/mis_budget_by_account_item.xml b/mis_builder_budget/views/mis_budget_by_account_item.xml index edb44d1be..9514749b8 100644 --- a/mis_builder_budget/views/mis_budget_by_account_item.xml +++ b/mis_builder_budget/views/mis_budget_by_account_item.xml @@ -26,6 +26,12 @@ +