[fix] get_party_details.js - set posting_date if args are initialised

This commit is contained in:
Anand Doshi 2015-10-12 16:23:51 +05:30
parent 4b72d05793
commit 9a4d165ba2

View File

@ -20,7 +20,10 @@ erpnext.utils.get_party_details = function(frm, method, args, callback) {
price_list: frm.doc.buying_price_list
};
}
args.posting_date = frm.doc.transaction_date;
if (args) {
args.posting_date = frm.doc.transaction_date;
}
}
if(!args) return;