see this link:
https://discuss.frappe.io/t/how-to-push-custom-fields-to-standard-doctypes-in-custom-app/3520/2