[IMP] stock_warehouse_calendar: show only company compatible calendars

This commit is contained in:
JordiMForgeFlow
2024-11-20 16:53:47 +01:00
parent a943de06a5
commit ecbaa89853

View File

@@ -10,7 +10,7 @@ class StockWarehouse(models.Model):
_inherit = "stock.warehouse"
calendar_id = fields.Many2one(
comodel_name="resource.calendar", string="Working Hours"
comodel_name="resource.calendar", string="Working Hours", check_company=True
)
def wh_plan_days(self, date_from, delta):