Merge pull request #26501 from rohitwaghchaure/fixed-taxes-not-working

fix: taxes not set correctly when items pulled from PO to PI
This commit is contained in:
rohitwaghchaure
2021-07-16 11:40:56 +05:30
committed by GitHub

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",