Browse Source

On laod fix

master
venkataakhil 2 years ago
parent
commit
4883e1a734
  1. 2
      smart_service/transactions/doctype/publish/publish.py

2
smart_service/transactions/doctype/publish/publish.py

@ -33,7 +33,7 @@ class Publish(Document):
str(km_mapping.name) + '\n' str(km_mapping.name) + '\n'
def onload(self): def onload(self):
if self.child_table_updated = 1: if self.child_table_updated == 1:
current_db_name = frappe.conf.get("db_name") current_db_name = frappe.conf.get("db_name")
# To validate updated procedure status # To validate updated procedure status
procedure_status = frappe.db.sql("""select p.name,p.update_procedure_status,pro.name,p.variant_mapping,p.system,p.sub_system,p.asset_category,p.item_category,p.variant,p.procedure_link,p.procedure_status,pro.name,pro.workflow_state procedure_status = frappe.db.sql("""select p.name,p.update_procedure_status,pro.name,p.variant_mapping,p.system,p.sub_system,p.asset_category,p.item_category,p.variant,p.procedure_link,p.procedure_status,pro.name,pro.workflow_state

Loading…
Cancel
Save