There are two standard approaches within ERPNext v13 to do that - right now, both aren’t working. Therefore it maybe depends also on the timeframe, you need to get it done:
- DocType Layout Where is the Supplier portal in v13? - #16 by CA_B.C_Chechani
- Virtual DocTypes Virtual Doctype Error - #2 by peterg