Try to check your SQL database if there are changes. Changes made through frappe.db.sql won’t immediately show because of the cache you may want to refresh your browser.
If you have the child doctype as table on a parent doctype, try accessing the properties of the child doctypes directly.
thanks for the answer ,
I checked in the database through the console, nothing changes.
Please clarify about
“try accessing the properties of the child doctypes directly”
How to do this, is there any special API for this?
In your example there is
validate_c_form_on_cancel function
with checking attributes c_form_applicable and c_form_no.
What are these attributes, where you can read about them?