commit | 0bba425fe300305c7d55a543dd42f98549d9b021 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Fri Aug 06 23:53:16 2021 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Fri Aug 06 23:53:16 2021 +0530 |
tree | 6ac999febc701c70082f5cd17ac0ba334ee9e9c8 | |
parent | 232c7286364220e1286d593605e9401b35573486 [diff] |
fix: Ignore default payment term templates when coping payment terms from orders
diff --git a/erpnext/public/js/utils/party.js b/erpnext/public/js/utils/party.js index a79eadc..54df0d6 100644 --- a/erpnext/public/js/utils/party.js +++ b/erpnext/public/js/utils/party.js
@@ -76,6 +76,7 @@ if (args) { args.posting_date = frm.doc.posting_date || frm.doc.transaction_date; + args.fetch_payment_terms_template = cint(!frm.doc.ignore_default_payment_terms_template) } } if (!args || !args.party) return;