def block_transactions_against_group_warehouse(self): from erpnext.stock.utils import is_group_warehouse is_group_warehouse(self.warehouse)