Update party.js

This commit is contained in:
Deepesh Garg
2021-06-24 17:35:14 +05:30
committed by GitHub
parent dbdf2515cd
commit 755ebdf582

View File

@@ -276,7 +276,7 @@ erpnext.utils.validate_mandatory = function(frm, label, value, trigger_on) {
erpnext.utils.get_shipping_address = function(frm, callback) {
if (frm.doc.company) {
if ((frm.doc.inter_com_order_reference || frm.doc.internal_invoice_reference ||
if ((frm.doc.inter_company_order_reference || frm.doc.internal_invoice_reference ||
frm.doc.internal_order_reference)) {
if (callback) {
return callback();