How to add/remove links on my account navigation magento 2?

Add new layout handle to one of places: If creating new module: VendorName/ModuleName/view/frontend/layout/customer_account.xml If creating new theme, 2 similar layout handles should be created to declare removal of each block separately: app/design/frontend/VendorName/themeName/Magento_Wishlist/layout/customer_account.xml (and similar layout for billing agreement module) Layout handle content:

Published
Categorized as Magento

Hide a Field in Purchase Order

Disable the standard rate field named “Rate” in the Purchase order for all roles other than Admin. Solution There is no need of script for solving this problem, instead we can use Workflow action. Created a workflow with type=”Transaction” and Subtype=”Purchase Order” 2. In state 1 , create a new action named “Set Field Display… Continue reading Hide a Field in Purchase Order