diff --git a/stock_demand_estimate/models/stock_demand_estimate.py b/stock_demand_estimate/models/stock_demand_estimate.py index b7b056bb2..85fba9f75 100644 --- a/stock_demand_estimate/models/stock_demand_estimate.py +++ b/stock_demand_estimate/models/stock_demand_estimate.py @@ -12,6 +12,7 @@ class StockDemandEstimate(models.Model): _name = "stock.demand.estimate" _description = "Stock Demand Estimate Line" + active = fields.Boolean(default=True) date_from = fields.Date( compute="_compute_dates", string="From (computed)", store=True ) diff --git a/stock_demand_estimate/views/stock_demand_estimate_view.xml b/stock_demand_estimate/views/stock_demand_estimate_view.xml index c5d543886..3a7ab5711 100644 --- a/stock_demand_estimate/views/stock_demand_estimate_view.xml +++ b/stock_demand_estimate/views/stock_demand_estimate_view.xml @@ -4,7 +4,7 @@ stock.demand.estimate.tree stock.demand.estimate - + @@ -13,6 +13,7 @@ + @@ -22,6 +23,12 @@
+ @@ -39,6 +46,7 @@ + @@ -76,6 +84,11 @@ +