mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[IMP] stock_warehouse_calendar: show only company compatible calendars
This commit is contained in:
@@ -10,7 +10,7 @@ class StockWarehouse(models.Model):
|
|||||||
_inherit = "stock.warehouse"
|
_inherit = "stock.warehouse"
|
||||||
|
|
||||||
calendar_id = fields.Many2one(
|
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):
|
def wh_plan_days(self, date_from, delta):
|
||||||
|
|||||||
Reference in New Issue
Block a user