fix: remove voucher type and no for Item and Warehouse based reposting

(cherry picked from commit 0104897d69)
This commit is contained in:
Rohit Waghchaure
2023-11-02 13:14:56 +05:30
committed by Mergify
parent 7bc02c49ba
commit b96be67a1f
2 changed files with 2 additions and 4 deletions

View File

@@ -1213,8 +1213,6 @@ def create_item_wise_repost_entries(voucher_type, voucher_no, allow_zero_rate=Fa
repost_entry = frappe.new_doc("Repost Item Valuation")
repost_entry.based_on = "Item and Warehouse"
repost_entry.voucher_type = voucher_type
repost_entry.voucher_no = voucher_no
repost_entry.item_code = sle.item_code
repost_entry.warehouse = sle.warehouse