How To Restore a Deleted DocType?

In Doctype List,I delete The Sales Invoice Doctype From Account Modules …Now How I Restore The Default Doctype???


If you have deleted the “Sales Invoice” doctype from ‘Doctype List’ then to restore that doctype run following commands.
1.Goto frappe-bench
2.source ./env/bin/activate
3.Goto site
4.frappe --use site_name
5.frappe --sync_all -f

Geetanjali Shitole
New Indictrans Technologies Pvt. Ltd.

I m Run in Bench…So No Source File Folder.Not In Frappe-bench…
Thanks @Geetanjali…done