-
Notifications
You must be signed in to change notification settings - Fork 467
feat: handle linked docs while deleting #846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
@pratikb64 found the following issues: |
|
||
|
||
@frappe.whitelist() | ||
def getLinkedDocs(doctype, docname): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never use camelCase in python code only use snake_case and in js use camelCase not snake_case
@@ -53,6 +54,7 @@ declare module 'vue' { | |||
ContactsIcon: typeof import('./src/components/Icons/ContactsIcon.vue')['default'] | |||
ContactsListView: typeof import('./src/components/ListViews/ContactsListView.vue')['default'] | |||
ConvertIcon: typeof import('./src/components/Icons/ConvertIcon.vue')['default'] | |||
copy: typeof import('./src/components/DeleteLinkedDocModal copy.vue')['default'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
page = 'contacts' | ||
id = doc.reference_docname | ||
break | ||
case 'Organization': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is CRM Organization not Organization
@pratikb64 Don't show CRM Lead, CRM Deal, CRM Task etc on UI strip CRM only show Lead, Deal, Task etc |
fixes: #230