This commit is contained in:
2021-06-28 20:16:29 +00:00
parent 5ac4ce20ac
commit 06c1503b29
26 changed files with 65 additions and 78 deletions

View File

@@ -410,9 +410,17 @@ CURRENTLY DOING:
3891 3: Implement a workable duplication system
SEE CASE 3891 for duplicate at client idea
Also this is a "3" because this idea rocks and I will likely need to remove duplicate route from every biz object at server and replace with dupe at client instead
actually should be quick and easy theoretically since it's a slight variation of the technique used to make new objects and then move to their id with data intact
and just setting a few values to 0 or null like concurrency/ id etc
Tested on Project, works perfectly, also found some optimizations to make around new records in create and also found that new: true is unnecessarily being set on route
todo: duplicate the duplicate stuff in Project on all other forms
- remove new: true from all places it currently appears, completely superflous
- rejig the formstate setting and object setting code for duplicate based on project
- in duplicate menu object creation add code from project to check if id is zero before adding it
- replace duplicate code with project version
- Remove at server duplicate route and de-document if found anywhere
- At server remove any now redundant code that was related to duplication
todo: how to directly open a workorder quickly when you know the wo number??
should be supported, otherwise you need to scroll around a list to find it which is fucked