To Disable/Remove “ship” Button from sales->order->view (click) -> Ship
I commented in core file vendor\magento\module-sales\Block\Adminhtml\Order\View.php
below code .
if ($this->_isAllowedAction(
'Magento_Sales::ship'
) && $order->canShip() && !$order->getForcedShipmentWithInvoice()
) {
$this->addButton(
'order_ship',
[
'label' => __('Ship'),
'onclick' => 'setLocation(\'' . $this->getShipUrl() . '\')',
'class' => 'ship'
]
);
}.
now how can i ovveride block to remove this function