mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
fix: Set Purchase Receipt and Delivery Note detail patch (#21607)
* fix: Set Purchase Receipt and Delievry Note detail patch * fix: Reload purchase receipt item
This commit is contained in:
@@ -3,6 +3,10 @@ import frappe
|
|||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
|
||||||
|
frappe.reload_doc('stock', 'doctype', 'delivery_note_item', force=True)
|
||||||
|
frappe.reload_doc('stock', 'doctype', 'purchase_receipt_item', force=True)
|
||||||
|
|
||||||
def map_rows(doc_row, return_doc_row, detail_field, doctype):
|
def map_rows(doc_row, return_doc_row, detail_field, doctype):
|
||||||
"""Map rows after identifying similar ones."""
|
"""Map rows after identifying similar ones."""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user