Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't delete releted to do
#5
(06-07-2020, 11:08 PM)joebordes Wrote: This isn't really an error. This is how it has always "worked". We inherited that functionality from vtiger CRM and have never got around to changing it. Mostly because I wanted to redesign the whole functionality on those lists.

The functionality is that the "delete" is trying to un-relate the two records. The action is not to delete the record you are seeing but since you are on a related list, it tries to un-relate them.

Now, that isn't a bad idea in itself, it brings the idea that we need two actions, one to delete the record and one to unrelate them. But there is much more. In this case, it doesn't unrelate them because they have a direct relation, so it would have to leave the capture field on the first record empty. That is ok for the Calendar-Calendar relation because the field CAN be empty but it is not a valid operation to do on and invoice (for example), where we would leave the Invoice without an Account which is not valid.

Now, it gets even more interesting because depending on what related list you are on the (still present) vtiger crm code takes different actions giving the delete link different functionality depending on where you are.

So, in short, what needs to be done is redesign the functionality of the related lists, giving the user all the options and information they need to execute the action they are looking for and then review all the code in all the modules to standardize it to this design. We will get to it eventually. In fact, we are very close now. The new data table for the list view is almost ready, that will bring a significant speed improvement along with some nice functionlity (inline edit in the list view similar to a spreadsheet). Once we have that we will copy this functionality to the related lists and redesign the process.

Patience.

New related list is very good improvement !
Ranieri
eCRM Web
Reply


Messages In This Thread
Can't delete releted to do - by addady2 - 06-07-2020, 08:11 AM
RE: Can't delete releted to do - by joebordes - 06-07-2020, 11:08 PM
RE: Can't delete releted to do - by rslemer - 06-12-2020, 05:39 PM
RE: Can't delete releted to do - by joebordes - 06-07-2020, 11:09 PM
RE: Can't delete releted to do - by addady2 - 06-08-2020, 05:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)