From 517cf1d894d7e6e3876a55f475d8a3fce2e7c7ca Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 28 Aug 2019 11:57:32 +0530 Subject: [PATCH] Updated Model Design Guidelines (markdown) --- Model-Design-Guidelines.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Model-Design-Guidelines.md b/Model-Design-Guidelines.md index 7dacf82..081cdc6 100644 --- a/Model-Design-Guidelines.md +++ b/Model-Design-Guidelines.md @@ -1,3 +1,9 @@ +### Numbering Series + +For auto naming, use the format `[MOD]-[DOC]-.YYYY.-` where MOD is the module abbreviation and DOC is the DocType abbrevation. + +For example: Lead in CRM module should be `CRM-LEAD-.YYYY.-` + ### Avoid hard coding of Roles No business logic should be based on hard coded roles. Either make it a configuration or set a property in User / Employee whether user has the permission to do the action.