mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-14 15:57:41 +00:00
Revert "Fix shipping_address for DropShipping" (#15218)
* Revert "Cleaned up welcome email code (#15175)" This reverts commit771fbb8f01. * Revert "[Fix] Raw materials are not showing in the stock entry if skip transfer is enabled and backflush is based on stock entry (#15187)" This reverts commit2b72d09948. * Revert "[Enhance] Provision to backflush raw materials from WIP warehouse (#15184)" This reverts commitc5cf428d00. * Revert "[Minor] Create default department on country setup (#15206)" This reverts commit2b2712bb9e. * Revert "Permissions issue in BOM tree" This reverts commit8fe8d1758a. * Revert "Fix indentation accounts_receivable.py (#15203)" This reverts commitfbc3df3247. * Revert "Fix shipping_address for DropShipping (#15202)" This reverts commit4a394bcbf4.
This commit is contained in:
committed by
Nabin Hait
parent
b94c7075d8
commit
a2c1d92374
@@ -171,7 +171,7 @@ erpnext.utils.validate_mandatory = function(frm, label, value, trigger_on) {
|
||||
}
|
||||
|
||||
erpnext.utils.get_shipping_address = function(frm, callback){
|
||||
if (frm.doc.company && !frm.doc.shipping_address) {
|
||||
if (frm.doc.company) {
|
||||
frappe.call({
|
||||
method: "frappe.contacts.doctype.address.address.get_shipping_address",
|
||||
args: {
|
||||
@@ -192,4 +192,4 @@ erpnext.utils.get_shipping_address = function(frm, callback){
|
||||
} else {
|
||||
frappe.msgprint(__("Select company first"));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user