Fetch payment schedule

I convert quotation to sales order by make sales order button. but payment schedule not fetch.
how to i fetch payment schedule from quotation to sales order.

Issue replicating. Created a Github Issue for the same.

https://github.com/frappe/erpnext/issues/15744