To show margin of the products while creating the sales invoice, please follow the below mentioned steps:
Step 1: Go to Settings
Step 2: Go to Preferences under General Settings >> Go to Document >> Go to Sales >> Show Margin >> Enable >> Save Changes
Note: Please note that the margin will be shown only in the Admin’s account.