[minor] update party timestamp after transaction
This commit is contained in:
parent
0e2dd859b0
commit
8c9c57c8f3
@ -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'''
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user