[fix] make payment request without payment gateway

This commit is contained in:
Saurabh
2016-07-21 20:26:46 +05:30
parent 38035c252a
commit e4e8954a19
4 changed files with 54 additions and 50 deletions

View File

@@ -158,6 +158,9 @@ doc_events = {
"Website Settings": {
"validate": "erpnext.portal.doctype.products_settings.products_settings.home_page_is_products"
},
"Payment Entry": {
"on_submit": "erpnext.accounts.doctype.payment_request.payment_request.make_status_as_paid"
}
}