mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-05 19:42:45 +00:00
[fix] get_party_details.js - set posting_date if args are initialised
This commit is contained in:
@@ -20,7 +20,10 @@ erpnext.utils.get_party_details = function(frm, method, args, callback) {
|
||||
price_list: frm.doc.buying_price_list
|
||||
};
|
||||
}
|
||||
args.posting_date = frm.doc.transaction_date;
|
||||
|
||||
if (args) {
|
||||
args.posting_date = frm.doc.transaction_date;
|
||||
}
|
||||
}
|
||||
if(!args) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user