diff --git a/erpnext/accounts/party_status.py b/erpnext/accounts/party_status.py index 53810b7bdc..ff095b1d65 100644 --- a/erpnext/accounts/party_status.py +++ b/erpnext/accounts/party_status.py @@ -55,7 +55,9 @@ def notify_status(doc, method): # may be open elsewhere, check # default status party.status = status - update_status(party, ) + update_status(party) + + party.update_modified() def get_party_status(doc): '''return party status based on open documents''' diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 9e2bd22caa..28a3691bf8 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -8,7 +8,7 @@ frappe.require("assets/erpnext/js/utils.js"); erpnext.TransactionController = erpnext.taxes_and_totals.extend({ onload: function() { var me = this; - this.frm.show_print_first = true; + //this.frm.show_print_first = true; if(this.frm.doc.__islocal) { var today = get_today(), currency = frappe.defaults.get_user_default("currency");