commit | 044c43a5cb6a4ceb763c1e183b0741c427759c02 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Mon Oct 26 17:43:17 2015 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon Oct 26 17:43:17 2015 +0530 |
tree | b01f816d0fef6ba9082f7d3d45263ae7cca470a3 | |
parent | 9ce9c052e463114d3e8d543e1f901fdba66281a9 [diff] | |
parent | 83e68bb837593f31f13f7199b32b8f281e7d0104 [diff] |
Merge pull request #4230 from nabinhait/fix26 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;