fix: Do not copy Item Tax template from SO to PO

This commit is contained in:
Deepesh Garg 2020-06-18 16:45:16 +05:30
parent 0a3c34de01
commit 1ba7708b60

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