How to hide the 'Stock Ledger' and 'Stock Balance' and view buttons while adding a new item

image
i want to hide the ‘Stock Ledger’ and ‘Stock Balance’ and view buttons while adding a new item and showing them after saving the item