Daily work summary refactor (#12944)
* added daily work summary setting doctype and code to support feature
this will allow multiple setting for daily work summary
* added daily work summary setting user doctype
* made changes in daily work summary code
* [minor] entry change in hr config file
* deleted previous daily work summary settings (and its company) doctype
* removed unwanted permission check
* toggled read_only option for enabled field
* removed print statements
* add patch for the changes
* doc changes
* [minor] indentation fix
* fixed tests
* indentation fixes
* codacy issue fix
* formatting fixes
* renamed doctype
Renamed Daily Work Summary Setting to Daily Work Summary Group and did related code and doc changes
* fixed typo
* updated doc
* codacy issue fix
* [minor] renamed doctype name in json
* Renamed old doctype
* fixed indentation
* codacy fix
* indentation fix
* renamed doctype
* handled patch exception
* fixed exception
* Update daily_work_summary_group.py
* rename patch file
removed abbreviation in file name
* handled exception in patch code
* removed Unnecessary pass statement
* [minor] indentation fix
diff --git a/erpnext/config/hr.py b/erpnext/config/hr.py
index b6b4cf1..9d21600 100644
--- a/erpnext/config/hr.py
+++ b/erpnext/config/hr.py
@@ -244,8 +244,8 @@
},
{
"type": "doctype",
- "name": "Daily Work Summary Settings"
- },
+ "name": "Daily Work Summary Group"
+ }
]
},
{