mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-12 17:23:38 +00:00
Updated Model Design Guidelines (markdown)
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user