I could understand it but it’s very surprising that Frappe Team, themselves have not created a single doctype layout based on existing any doctype ( Before or after merging This feature PR). If they do, they can notice it as there are three-four issues that should address for making it workable.
I am just sharing here my observation based on my limited technical knowledge. First, the route/path is not right. Surprisingly the PR has been added by @rmehta himself and he/anyone could fix it quickly.
Path is not right , I believe so its not opening from doctype layout itself .window.open(/app/list/${frappe.router.slug(frm.doc.name)}/list); in the relevany js file frappe/doctype_layout.js at develop · frappe/frappe · GitHub
set_button(frm) {
if (!frm.is_new()) {
frm.add_custom_button(__(‘Go to {0} List’, [frm.doc.name]), () => {
window.open(/app/list/${frappe.router.slug(frm.doc.name)}/list);
});
}
Secondly, Label has been mandatory for the field type column break and Section Break, So one can not create and save it at all.
The third is new doctype layout should be added to call for workspace so it can be visible to the users having the desired role.
The fourth how this object will be called in a custom script.
@Maheshwari_Bhavesh responded the solution as we can not add fields if we do not apply the trick shared by him at Doctype Layout not showing fieldname- have anyone tried this in version 13 - #4 by Maheshwari_Bhavesh.
I am not a technical person so my observation may not be the exact as needed. However, @Maheshwari_Bhavesh can add his comments to seek the attention of the frappe team as one of very interesting functionality is still in lock .