fix: Reload customer and supplier doctype
This commit is contained in:
parent
cd4b20313e
commit
89d5e494dd
@ -310,4 +310,4 @@ erpnext.patches.v13_0.enable_scheduler_job_for_item_reposting
|
|||||||
erpnext.patches.v13_0.requeue_failed_reposts
|
erpnext.patches.v13_0.requeue_failed_reposts
|
||||||
erpnext.patches.v13_0.healthcare_deprecation_warning
|
erpnext.patches.v13_0.healthcare_deprecation_warning
|
||||||
erpnext.patches.v14_0.delete_healthcare_doctypes
|
erpnext.patches.v14_0.delete_healthcare_doctypes
|
||||||
erpnext.patches.v13_0.create_pan_field_for_india
|
erpnext.patches.v13_0.create_pan_field_for_india #2
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
|
import frappe
|
||||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc('buying', 'doctype', 'supplier', force=True)
|
||||||
|
frappe.reload_doc('selling', 'doctype', 'customer', force=True)
|
||||||
|
|
||||||
custom_fields = {
|
custom_fields = {
|
||||||
'Supplier': [
|
'Supplier': [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user