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:
parent
a4567a446f
commit
3e0c51879e
@ -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."""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user