[UPD] Creation budget category Delivery

This commit is contained in:
Stéphan Sainléger
2022-05-19 16:08:19 +02:00
parent 03643727f0
commit d763e7e24b
3 changed files with 34 additions and 0 deletions

View File

@@ -32,6 +32,12 @@ class AccountAnalyticAccount(models.Model):
domain=[("budget_category", "=", "subcontractors")],
copy=True,
)
budget_forecast_delivery_ids = fields.One2many(
"budget.forecast",
"analytic_id",
domain=[("budget_category", "=", "delivery")],
copy=True,
)
budget_forecast_miscellaneous_ids = fields.One2many(
"budget.forecast",
"analytic_id",

View File

@@ -27,6 +27,7 @@ class BudgetForecast(models.Model):
("material", "Material"),
("equipment", "Equipment"),
("subcontractors", "Subcontractors"),
("delivery", "Delivery"),
("miscellaneous", "Miscellaneous"),
("unplanned", "Unplanned"),
],