fix: Do not copy Item Tax template from SO to PO (#22326)

This commit is contained in:
Deepesh Garg
2020-06-18 18:19:49 +05:30
committed by GitHub
parent f53ee9026b
commit fc488a2b46

View File

@@ -868,7 +868,8 @@ def make_purchase_order(source_name, for_supplier=None, selected_items=[], targe
],
"field_no_map": [
"rate",
"price_list_rate"
"price_list_rate",
"item_tax_template"
],
"postprocess": update_item,
"condition": lambda doc: doc.ordered_qty < doc.qty and doc.supplier == supplier and doc.item_code in selected_items