zaviagodev / frappe

MIT License
0 stars 1 forks source link

Can't delete contact #223

Closed chomchuen closed 4 months ago

chomchuen commented 4 months ago

Can't delete contact because it was linked with SINV and I think it caused by phone no. field on customer info tab on SINV. Image

However we still want to have phone no. on customer info tab while be able to delete contact so I would like you to check if we can get phone no. as a 'String' instead of linkage with contact doctype (I mean get just a value from customer's contact 1 times but do not link it togetheršŸ¤”)

but if phone no. must be linked with contact, then we should decide remove phone no. field from SINV doctype.

WARNING AFTER TRIED TO DELETE CONTACT. Image

chomchuen commented 4 months ago

Can't delete contact issue caused from this not phone no. field. Now I'm thinking how should we do next.

Image

chomchuen commented 4 months ago

Muzammal added the 'Unlink and Delete' button to simplify the deletion process. while document that have created before content was deleted still keep the data that was deleted.

Unlinked doc. -> contact with Sales Order. -> contact with Sales Invoice.

Image

Contact in the Sales order doctype still there even this contact was deleted. Image Image