mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
[fixes][patch] update valuation rate in purchase cycle and repost patch
This commit is contained in:
@@ -20,8 +20,7 @@ def execute():
|
|||||||
from stock.stock_ledger import update_entries_after
|
from stock.stock_ledger import update_entries_after
|
||||||
item_warehouse = []
|
item_warehouse = []
|
||||||
# update valuation_rate in transaction
|
# update valuation_rate in transaction
|
||||||
doctypes = {"Purchase Receipt": "purchase_receipt_details",
|
doctypes = {"Purchase Receipt": "purchase_receipt_details", "Purchase Invoice": "entries"}
|
||||||
"Purchase Invoice": "entries"}
|
|
||||||
|
|
||||||
for dt in doctypes:
|
for dt in doctypes:
|
||||||
for d in webnotes.conn.sql("""select name from `tab%s`
|
for d in webnotes.conn.sql("""select name from `tab%s`
|
||||||
|
|||||||
Reference in New Issue
Block a user