commit | 83e68bb837593f31f13f7199b32b8f281e7d0104 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Mon Oct 26 17:40:31 2015 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Oct 26 17:40:31 2015 +0530 |
tree | 9999b74962cb2af1cc98ad35598c4219dcd58a4f | |
parent | 6d2d6862d6dad8b1ff31149be68072578ab83e10 [diff] |
minor fix
diff --git a/erpnext/public/js/utils/party.js b/erpnext/public/js/utils/party.js index cc6f112..427cd89 100644 --- a/erpnext/public/js/utils/party.js +++ b/erpnext/public/js/utils/party.js
@@ -22,7 +22,7 @@ } if (args) { - args.posting_date = frm.doc.transaction_date; + args.posting_date = frm.doc.posting_date || frm.doc.transaction_date; } } if(!args) return;