From 83e68bb837593f31f13f7199b32b8f281e7d0104 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 26 Oct 2015 17:40:31 +0530 Subject: [PATCH] minor fix --- erpnext/public/js/utils/party.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;