Customizing DocTypes - Customizing ERP Modules in ERPNext

Share

Summary

This video from Frappe School dives into advanced customization of DocTypes in ERPNext, using a customer feedback DocType as an example. It covers naming series, fetching data, dashboard links, interdependent fields, child tables, permissions, list views, timelines, and customizing standard DocTypes.

Highlights

Naming Series for DocTypes
00:00:31

Learn how to add a naming series to records in your DocType, ensuring each new document gets a unique ID. You can set up naming patterns, such as including the month of the year. Also, discover how to set a title field so records are easily identifiable (e.g., by customer name).

Fetching Data from Other Documents
00:01:41

This section explains how to fetch data from other documents. As an example, the video demonstrates pulling the assigned account manager from a customer document into the customer feedback DocType, making the field read-only.

Customizing the Dashboard with Links
00:02:51

Discover how to add custom links to a DocType's dashboard, such as linking customer feedback to tasks. This involves customizing the linked DocType (e.g., 'Task') by adding a custom field, then configuring the main DocType's settings to include the link.

Interdependent Fields: Display and Mandatory Conditions
00:04:27

Learn to create interdependent fields. The video shows how to make 'reason' fields appear and become mandatory only when a customer marks a service as unsatisfactory, using 'display dependon' and 'mandatory dependon' conditions.

Creating Child Tables with DocType
00:06:22

This part details how to create child tables within a DocType. A new DocType ('Customer Feedback Order Details') is created with fields like 'items ordered,' 'order placement method,' and 'payment mode.' This child DocType is then linked as a table field in the main customer feedback DocType.

Managing Permissions for DocTypes
00:08:07

Understand how to define permissions for different roles within the system for a DocType. Permissions include read, write, create, delete, select, and submit. The example shows granting read and write permissions to a 'project user' role.

Customizing List View and Filters
00:08:39

Learn to customize the list view of a DocType. You can make specific fields visible in the list by enabling an option for that field (e.g., 'account manager'). Additionally, you can configure standard filters for easier record searching.

Understanding the Timeline Concept
00:09:24

Explore the timeline feature in documents. By enabling 'track changes,' 'track seen,' and 'track views,' you can monitor all modifications and views of a document. You can also link the timeline to other entities, like customers, and allow event creation from it.

Customizing Standard DocTypes
00:10:22

This final section explains how to customize existing standard DocTypes using the 'customize form' feature. The video demonstrates adding new link fields and section breaks, along with custom fields for item dimensions (length, breadth, width, weight) to an existing 'Item' DocType.

Recently Summarized Articles

Loading...