mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
chore: resolve conflicts
This commit is contained in:
@@ -1022,28 +1022,20 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
} else {
|
} else {
|
||||||
set_pricing();
|
set_pricing();
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
}
|
|
||||||
|
|
||||||
if (frappe.meta.get_docfield(this.frm.doctype, "shipping_address") &&
|
|
||||||
['Purchase Order', 'Purchase Receipt', 'Purchase Invoice'].includes(this.frm.doctype)) {
|
|
||||||
let is_drop_ship = me.frm.doc.items.some(item => item.delivered_by_supplier);
|
|
||||||
|
|
||||||
if (!is_drop_ship) {
|
|
||||||
erpnext.utils.get_shipping_address(this.frm, function() {
|
|
||||||
set_party_account(set_pricing);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
if (
|
if (
|
||||||
frappe.meta.get_docfield(this.frm.doctype, "shipping_address") &&
|
frappe.meta.get_docfield(this.frm.doctype, "shipping_address") &&
|
||||||
["Purchase Order", "Purchase Receipt", "Purchase Invoice"].includes(this.frm.doctype) &&
|
["Purchase Order", "Purchase Receipt", "Purchase Invoice"].includes(this.frm.doctype) &&
|
||||||
!this.frm.doc.shipping_address
|
!this.frm.doc.shipping_address
|
||||||
) {
|
) {
|
||||||
let is_drop_ship = me.frm.doc.items.some((item) => item.delivered_by_supplier);
|
let is_drop_ship = me.frm.doc.items.some((item) => item.delivered_by_supplier);
|
||||||
>>>>>>> 0678638106 (fix: preserve address if present)
|
|
||||||
|
|
||||||
|
if (!is_drop_ship) {
|
||||||
|
erpnext.utils.get_shipping_address(this.frm, function() {
|
||||||
|
set_party_account(set_pricing);
|
||||||
|
});
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
set_party_account(set_pricing);
|
set_party_account(set_pricing);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user