How to show margin of the products while creating the purchase invoice on web?

To show the product margin while creating the purchase, please follow the below mentioned steps:

Step 1: Go to settings

Step 2: Go to Preferences under the General Settings >> Go to Document >> Go to Purchases >> Show Margin >> Enable >> Save Changes