Hi,
As per ERPNext Doctype behavior when we create a Doctype in ERPNext it provides a default Form view as we define fields in Doctype.
I am working on a project where i need to change the default layout of the form view .In other words i would need to override the default layout with our designed (html) layout, is that possible?
I couldn’t find any thing helping on it.i believe there must be a solution for this, any thoughts?
You can make custom page and call frappe api from custom page, because to change form layout you need to change core code and after that you will not able to update erpnext.
We used inbuilt frappe library for this, so it will be easily updated.
Dashboard:
@kolate_sambhaji In the second screenshot, when you attach image, does it saves first and then again you have to come back to the page to enter more details in it? I am using similar functionality but when I attach an image, it saves it first and then again I need to reopen the form to enter remaining details. Can you show me a workaround?
@miren_karamta
Before attach image you need to save the doc. You can attach image only after saving from. This is by design.
What we did is, we write code after_insert event to attach the image.
After insert will call when doc is saved for first time.
For more documentation on inbuilt event please check doc event section. https://frappe.io/docs/user/en/guides/basics/hooks
If I don’t care about altering the desk view of ERPNext, is it easy to apply themes to the rest of the system? (For example the Stock Entry or Accounting functions)
If so, is there a set of instructions to do it that will still allow the desk and website to remain the same?