diff --git a/erpnext/public/js/utils/party.js b/erpnext/public/js/utils/party.js index cc6f112545..427cd89c22 100644 --- a/erpnext/public/js/utils/party.js +++ b/erpnext/public/js/utils/party.js @@ -22,7 +22,7 @@ erpnext.utils.get_party_details = function(frm, method, args, callback) { } if (args) { - args.posting_date = frm.doc.transaction_date; + args.posting_date = frm.doc.posting_date || frm.doc.transaction_date; } } if(!args) return;