diff --git a/mis_builder_budget/models/mis_budget_by_account.py b/mis_builder_budget/models/mis_budget_by_account.py index 16aa16fd0..5090e1a2f 100644 --- a/mis_builder_budget/models/mis_budget_by_account.py +++ b/mis_builder_budget/models/mis_budget_by_account.py @@ -16,3 +16,4 @@ class MisBudgetByAccount(models.Model): allow_items_overlap = fields.Boolean( help="If checked, overlap between budget items is allowed" ) + active = fields.Boolean(default=True, copy=False) diff --git a/mis_builder_budget/views/mis_budget_by_account.xml b/mis_builder_budget/views/mis_budget_by_account.xml index 1dc2c82b8..cd1dc160a 100644 --- a/mis_builder_budget/views/mis_budget_by_account.xml +++ b/mis_builder_budget/views/mis_budget_by_account.xml @@ -41,6 +41,7 @@ + @@ -65,6 +66,12 @@ + +