Browse Source

test doc update

master
venkataakhil 1 year ago
parent
commit
20e5d75ae6
  1. 6
      smart_service/apis/addon_api.py
  2. 4
      smart_service/transactions/doctype/publish/publish.json

6
smart_service/apis/addon_api.py

@ -194,7 +194,7 @@ def feedback(args=None, request=None):
return api return api
elif args == 'post_user_feedback': elif args == 'post_user_feedback':
# try: try:
request = json.loads(request) request = json.loads(request)
usr_fdbk = frappe.new_doc('User Feedback') usr_fdbk = frappe.new_doc('User Feedback')
usr_fdbk.subject = request['Subject'] usr_fdbk.subject = request['Subject']
@ -231,8 +231,8 @@ def feedback(args=None, request=None):
ret.insert(ignore_permissions=True) ret.insert(ignore_permissions=True)
file_response.append(ret) file_response.append(ret)
api = {"isSuccessful": True, "name": usr_fdbk.name, "files": file_response} api = {"isSuccessful": True, "name": usr_fdbk.name, "files": file_response}
# except Exception as e: except Exception as e:
# api = {"status": 0, "error": "Failed to create Feedback"} api = {"status": 0, "error": "Failed to create Feedback"}
else: else:
api = {"status": 0, "error": "Check argument: args"} api = {"status": 0, "error": "Check argument: args"}
else: else:

4
smart_service/transactions/doctype/publish/publish.json

@ -299,8 +299,10 @@
"read_only": 1 "read_only": 1
}, },
{ {
"allow_on_submit": 1,
"fieldname": "child_table_updated", "fieldname": "child_table_updated",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 1,
"label": "Child Table Updated", "label": "Child Table Updated",
"options": "0\n1" "options": "0\n1"
} }
@ -308,7 +310,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2023-05-16 14:02:25.547907", "modified": "2023-05-16 14:43:27.233080",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Transactions", "module": "Transactions",
"name": "Publish", "name": "Publish",

Loading…
Cancel
Save