mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
fix: Ignore default payment term templates when coping payment terms from orders
This commit is contained in:
@@ -76,6 +76,7 @@ erpnext.utils.get_party_details = function(frm, method, args, callback) {
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user