...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/controller/order/entity.php
- Класс: Bitrix\Crm\Controller\Order\Entity
- Вызов: Entity::temporarilyDisableAutomationIfNeeded
protected function temporarilyDisableAutomationIfNeeded(): void { $isUsedInventoryManagement = Catalog\Config\State::isUsedInventoryManagement(); $isAutomationEnabled = Sale\Configuration::isEnableAutomaticReservation(); if ($isUsedInventoryManagement && $isAutomationEnabled) { Sale\Configuration::disableAutomaticReservation(); $this->automationWasTemporarilyDisabled = true; } }