mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 07:32:50 +00:00
Used db_update in patch to bypass validate and on_update method
This commit is contained in:
@@ -20,6 +20,5 @@ def execute():
|
||||
"manufacturer": item.manufacturer,
|
||||
"manufacturer_part_no": item.manufacturer_part_no
|
||||
})
|
||||
item_doc.flags.ignore_validate = True
|
||||
item_doc.flags.ignore_mandatory = True
|
||||
item_doc.save()
|
||||
|
||||
item_doc.get("manufacturers")[0].db_update()
|
||||
Reference in New Issue
Block a user