[fix] get_party_details.js - set posting_date if args are initialised
This commit is contained in:
parent
4b72d05793
commit
9a4d165ba2
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user