fix: taxes not set correctly when items pulled from PO to PI

This commit is contained in:
Rohit Waghchaure
2021-07-14 22:52:40 +05:30
parent 0ecf8f5d66
commit 24e1786e49

View File

@@ -107,6 +107,8 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend
message: __("Please Select a Supplier") message: __("Please Select a Supplier")
}); });
} }
me.frm.doc.taxes = [];
erpnext.utils.map_current_doc({ erpnext.utils.map_current_doc({
method: "erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt", method: "erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt",
source_doctype: "Purchase Order", source_doctype: "Purchase Order",