-
Couldn't load subscription status.
- Fork 699
fix: Bulk Delete "Reference Doctype must be set first" Error #1125
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
Conversation
Added document existence checks Added reference field validation Changed None to empty strings for reference fields
|
@Mergifyio backport main-hotfix |
❌ No backport have been created
Git reported the following error: |
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.
Pull Request Overview
This PR fixes bulk delete operations that were failing with "Reference Doctype must be set first" validation errors. The changes focus on improving error handling and validation when unlinking documents during bulk delete processes.
- Enhanced error handling with try-catch blocks and document existence checks
- Changed
Nonevalues to empty strings for reference fields to prevent validation errors - Added special handling for CRM Notification documents during unlink operations
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| frontend/src/components/ListViews/LinkedDocsListView.vue | Added UI improvements for linked document display and CRM Notification routing |
| frontend/src/components/DeleteLinkedDocModal.vue | Minor UI layout adjustments for column widths and spacing |
| frontend/src/components/BulkDeleteLinkedDocModal.vue | Added consistent text styling for delete confirmation messages |
| crm/api/doc.py | Core fix with enhanced validation, error handling, and special CRM Notification unlinking logic |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| "reference_doctype": "", | ||
| "reference_docname": "", |
Copilot
AI
Sep 18, 2025
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.
The field name inconsistency between reference_docname (line 820) and reference_name (line 809) could lead to confusion. Consider using consistent field naming throughout the codebase.
| "reference_doctype": "", | ||
| "reference_name": "", | ||
| } | ||
|
|
Copilot
AI
Sep 18, 2025
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.
The logic for determining when to clear notification type fields is unclear. Consider adding a comment explaining when this condition occurs and why both sets of fields need to be cleared.
| # If the notification's type doctype matches its reference doctype, | |
| # we need to clear both notification type fields and reference fields. | |
| # This ensures that all links between the notification and the referenced document are removed, | |
| # preventing any residual associations in the CRM Notification document. |
| try: | ||
| if not frappe.db.exists(doctype, doc): | ||
| frappe.log_error(f"Document {doctype} {doc} does not exist", "Bulk Delete Error") | ||
| continue | ||
|
|
Copilot
AI
Sep 18, 2025
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.
The existence check should be moved outside the try-catch block since frappe.db.exists() is unlikely to throw the exceptions being caught. This would make the error handling more precise and avoid unnecessary exception handling for the existence check.
| try: | |
| if not frappe.db.exists(doctype, doc): | |
| frappe.log_error(f"Document {doctype} {doc} does not exist", "Bulk Delete Error") | |
| continue | |
| if not frappe.db.exists(doctype, doc): | |
| frappe.log_error(f"Document {doctype} {doc} does not exist", "Bulk Delete Error") | |
| continue | |
| try: |
|
Backport PR: #1277 |
fix: Bulk Delete "Reference Doctype must be set first" Error (backport #1125)
commit cf849f7 Author: Frappe PR Bot <[email protected]> Date: Thu Sep 25 16:33:11 2025 +0000 chore(release): Bumped to Version 1.53.1 commit 3e9fdb8 Merge: 4f8f195 260755f Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 22:02:44 2025 +0530 Merge pull request frappe#1287 from frappe/main-hotfix commit 260755f Merge: 85df56b a9e956b Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 21:57:28 2025 +0530 Merge pull request frappe#1286 from frappe/mergify/bp/main-hotfix/pr-1279 commit 85df56b Merge: 105c78e 46cc1d2 Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 21:53:53 2025 +0530 Merge pull request frappe#1285 from frappe/mergify/bp/main-hotfix/pr-1284 commit a9e956b Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 02:59:56 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit 9e92282) commit 905eb63 Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 02:59:42 2025 +0530 chore: Serbian (Latin) translations (cherry picked from commit 0138716) commit 3eee437 Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 02:59:37 2025 +0530 chore: Serbian (Cyrillic) translations (cherry picked from commit 589c95e) commit 4498de2 Author: Shariq Ansari <[email protected]> Date: Wed Sep 24 02:56:03 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit a4e2663) commit bfb0d25 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:50 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit f91ac26) commit 9dd6ffa Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:49 2025 +0530 chore: Danish translations (cherry picked from commit 415d541) commit 05322e8 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:47 2025 +0530 chore: Esperanto translations (cherry picked from commit 9fc20a3) commit 8dc6db3 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:46 2025 +0530 chore: Croatian translations (cherry picked from commit 43dadfe) commit 1b63384 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:44 2025 +0530 chore: Thai translations (cherry picked from commit 56071d5) commit 37bbbb6 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:43 2025 +0530 chore: Persian translations (cherry picked from commit b0e79d0) commit 6f0244c Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:42 2025 +0530 chore: Vietnamese translations (cherry picked from commit 5848649) commit e08bc9c Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:40 2025 +0530 chore: Chinese Simplified translations (cherry picked from commit 3c5ee97) commit 2043157 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:39 2025 +0530 chore: Turkish translations (cherry picked from commit 2acd747) commit 8093a42 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:37 2025 +0530 chore: Russian translations (cherry picked from commit 66c5865) commit 4bef919 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:36 2025 +0530 chore: Portuguese translations (cherry picked from commit 103a137) commit 874947b Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:35 2025 +0530 chore: Dutch translations (cherry picked from commit 52cc70d) commit ca90c04 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:33 2025 +0530 chore: Hungarian translations (cherry picked from commit d72dcee) commit 6bf27d8 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:32 2025 +0530 chore: Czech translations (cherry picked from commit b473b27) commit 793cb76 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:30 2025 +0530 chore: Arabic translations (cherry picked from commit 8805560) commit ff07054 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:29 2025 +0530 chore: Spanish translations (cherry picked from commit 3f0c4e9) commit 2ee5269 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:27 2025 +0530 chore: French translations (cherry picked from commit 2b13c3f) commit e27954d Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:26 2025 +0530 chore: German translations (cherry picked from commit b6fa3bf) commit 2faa0d0 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:25 2025 +0530 chore: Serbian (Latin) translations (cherry picked from commit ae9e59a) commit f1664ee Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:23 2025 +0530 chore: Bosnian translations (cherry picked from commit 4533bec) commit 7f2efea Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:22 2025 +0530 chore: Indonesian translations (cherry picked from commit 57bd9fe) commit d2cc6b7 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:21 2025 +0530 chore: Portuguese, Brazilian translations (cherry picked from commit 013c21a) commit 1afb6d6 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:19 2025 +0530 chore: Swedish translations (cherry picked from commit 9a78003) commit ccaf136 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:18 2025 +0530 chore: Serbian (Cyrillic) translations (cherry picked from commit 1bd6228) commit 58a41d1 Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:17 2025 +0530 chore: Polish translations (cherry picked from commit f7382f4) commit 777f3ac Author: Shariq Ansari <[email protected]> Date: Tue Sep 23 02:12:15 2025 +0530 chore: Italian translations (cherry picked from commit 3c870ce) commit 105c78e Merge: 4989dc0 ff4ca9f Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 21:53:09 2025 +0530 Merge pull request frappe#1283 from frappe/mergify/bp/main-hotfix/pr-1282 fix: add validation for mandatory fields in useDocument (backport frappe#1282) commit 46cc1d2 Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 21:51:02 2025 +0530 build(deps): bump frappeui to 0.1.201 (cherry picked from commit 171060d) commit ff4ca9f Author: Shariq Ansari <[email protected]> Date: Thu Sep 25 21:41:02 2025 +0530 fix: add validation for mandatory fields in useDocument (cherry picked from commit dbcda4c) commit 4989dc0 Merge: 7e9bc05 1e613eb Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 16:12:16 2025 +0530 Merge pull request frappe#1277 from shariquerik/backport-1125 fix: Bulk Delete "Reference Doctype must be set first" Error (backport frappe#1125) commit 1e613eb Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 16:04:53 2025 +0530 fix: Bulk Delete 'Reference Doctype must be set first' Error backport (frappe#1125) commit 4f8f195 Author: Frappe PR Bot <[email protected]> Date: Mon Sep 22 09:55:37 2025 +0000 chore(release): Bumped to Version 1.53.0 commit af64b86 Merge: ff312d9 7e9bc05 Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 15:25:13 2025 +0530 Merge pull request frappe#1276 from frappe/main-hotfix commit 7e9bc05 Merge: 9d0a0d1 d245374 Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 15:18:12 2025 +0530 Merge pull request frappe#1275 from frappe/mergify/bp/main-hotfix/pr-1266 commit 9d0a0d1 Merge: 9c84a8b 803e639 Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 15:17:51 2025 +0530 Merge pull request frappe#1273 from frappe/mergify/bp/main-hotfix/pr-1272 commit 9c84a8b Merge: fabd362 bd89b3b Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 15:17:42 2025 +0530 Merge pull request frappe#1274 from frappe/mergify/bp/main-hotfix/pr-1262 commit d245374 Author: frappe-pr-bot <[email protected]> Date: Sun Sep 21 09:35:13 2025 +0000 chore: update POT file (cherry picked from commit 625e472) commit bd89b3b Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 02:17:19 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit ce632c6) commit 988fb90 Author: Shariq Ansari <[email protected]> Date: Sun Sep 21 01:59:49 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit 93ed6fc) commit 8018b17 Author: Shariq Ansari <[email protected]> Date: Sat Sep 20 02:02:45 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit e3eff7f) commit 9c4c2a0 Author: Shariq Ansari <[email protected]> Date: Fri Sep 19 02:05:23 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit 394da5e) commit 803e639 Author: Shariq Ansari <[email protected]> Date: Mon Sep 22 15:01:48 2025 +0530 build(deps): bump frappeui to 0.1.200 (cherry picked from commit 96c0c99) commit fabd362 Merge: 9e8a402 7dd9873 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:44:32 2025 +0530 Merge pull request frappe#1260 from frappe/mergify/bp/main-hotfix/pr-1256 commit 7dd9873 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:38:44 2025 +0530 chore: resolved conflict commit ee4b772 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:37:11 2025 +0530 chore: resolved conflict commit 95bc551 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:35:03 2025 +0530 chore: resolved conflict commit 2546bda Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 14:43:44 2025 +0530 refactor: adjust padding and improve layout for Settings component (cherry picked from commit d687a2e) commit af24896 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 13:36:06 2025 +0530 refactor: adjust padding and improve layout for Currency and Forecasting settings components (cherry picked from commit 1044adc) commit 8749f7b Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 13:29:44 2025 +0530 refactor: update styling and improve layout for assignment rules components (cherry picked from commit 9f95a3a) commit d18618b Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 13:14:27 2025 +0530 refactor: replace EmailMultiSelect with FormControl for inviting users by email (cherry picked from commit 69f8090) # Conflicts: # frontend/src/components/Settings/InviteUserPage.vue commit ce4af49 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 13:01:49 2025 +0530 refactor: remove TemplateOption component usage and simplify dropdown options in multiple components (cherry picked from commit ac34ac9) # Conflicts: # frontend/src/components/Settings/Users.vue commit 84d24a3 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 12:13:36 2025 +0530 refactor: update Vite configuration to support dynamic loading of frappe-ui in development mode (cherry picked from commit 129f8a0) commit 29d8685 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 11:58:05 2025 +0530 revert: create dynamic alias to use components from frontend vue apps (cherry picked from commit 6328b69) commit be452fe Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 18:02:54 2025 +0530 refactor: reduce gap in Brand logo and Favicon sections for improved layout (cherry picked from commit fbc9e37) commit 100eec0 Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 18:00:27 2025 +0530 refactor: remove icon-left from Update button in multiple settings components (cherry picked from commit 149901f) commit a4d3852 Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:46:17 2025 +0530 feat: Auto update expected deal value based on products value (cherry picked from commit 7e21a5f) commit 0399fc3 Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:35:44 2025 +0530 refactor: add ForecastingSettings component and remove GeneralSettingsPage component (cherry picked from commit f4ff6bb) commit a79192e Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:34:39 2025 +0530 fix: add auto-update expected deal value checkbox in FCRM settings (cherry picked from commit 9150233) commit e10ec54 Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:28:37 2025 +0530 refactor: CurrencySettings component (cherry picked from commit 186584c) commit 1962b9a Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:27:15 2025 +0530 refactor: update BrandSettings component to improve logo and favicon handling (cherry picked from commit 3752c61) commit a3abaa5 Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:20:50 2025 +0530 refactor: HomeActions component (cherry picked from commit a6ecc5c) commit 1bf3f7a Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:16:27 2025 +0530 refactor: BrandSettings component (cherry picked from commit 84e0fe3) commit af81750 Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 17:14:58 2025 +0530 refactor: enhance Settings component structure (cherry picked from commit 03acea6) # Conflicts: # frontend/src/components/Settings/Settings.vue commit 7330a3c Author: Shariq Ansari <[email protected]> Date: Tue Sep 16 16:55:56 2025 +0530 refactor: clean up ImageUploader component and improve label handling (cherry picked from commit e19f750) commit 9e8a402 Merge: 97925aa 7ef0096 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:27:27 2025 +0530 Merge pull request frappe#1255 from frappe/mergify/bp/main-hotfix/pr-1252 fix: paddings and labels (backport frappe#1252) commit 7ef0096 Merge: ce66705 97925aa Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:21:52 2025 +0530 Merge branch 'main-hotfix' into mergify/bp/main-hotfix/pr-1252 commit 97925aa Merge: a360fa7 0b75228 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:17:19 2025 +0530 Merge pull request frappe#1259 from frappe/mergify/bp/main-hotfix/pr-1257 commit 0b75228 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 01:57:09 2025 +0530 chore: Portuguese translations (cherry picked from commit fca831b) commit a360fa7 Merge: 49ed1ac 4601b56 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:11:28 2025 +0530 Merge pull request frappe#1258 from frappe/mergify/bp/main-hotfix/pr-1206 commit 4601b56 Author: Shariq Ansari <[email protected]> Date: Thu Sep 18 15:05:35 2025 +0530 chore: resolved conflict commit d985a44 Author: Pratik Badhe <[email protected]> Date: Mon Sep 1 06:22:56 2025 +0000 feat: add assignment rule (cherry picked from commit 0c56849) # Conflicts: # frontend/components.d.ts # yarn.lock commit ce66705 Author: Pratik Badhe <[email protected]> Date: Wed Sep 17 06:29:00 2025 +0000 revert: yarn.lock file (cherry picked from commit 41ef219) commit 0049234 Author: Pratik Badhe <[email protected]> Date: Tue Sep 9 09:00:31 2025 +0000 fix: paddings and labels (cherry picked from commit db577af) # Conflicts: # frontend/src/components/Settings/AssignmentRules/AssigneeRules.vue # frontend/src/components/Settings/AssignmentRules/AssignmentRuleView.vue # frontend/src/components/Settings/AssignmentRules/AssignmentRules.vue commit 49ed1ac Merge: 49d7af5 a7dd1e9 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 11:55:38 2025 +0530 Merge pull request frappe#1254 from frappe/mergify/bp/main-hotfix/pr-1253 commit a7dd1e9 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:33:08 2025 +0530 chore: Norwegian Bokmal translations (cherry picked from commit b6e3cdf) commit 4cfd002 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:33:07 2025 +0530 chore: Danish translations (cherry picked from commit c0171c0) commit fc3d8cd Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:33:06 2025 +0530 chore: Esperanto translations (cherry picked from commit 6f154e1) commit 5473a93 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:33:04 2025 +0530 chore: Croatian translations (cherry picked from commit 552e500) commit 57d306e Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:33:03 2025 +0530 chore: Thai translations (cherry picked from commit bf6940a) commit 7c324bd Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:33:01 2025 +0530 chore: Persian translations (cherry picked from commit dc9b07b) commit 0942121 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:33:00 2025 +0530 chore: Vietnamese translations (cherry picked from commit 0a45094) commit 630dfcd Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:58 2025 +0530 chore: Chinese Simplified translations (cherry picked from commit 247d8e0) commit b999a37 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:57 2025 +0530 chore: Turkish translations (cherry picked from commit 73a1ecd) commit b5f5a3b Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:55 2025 +0530 chore: Russian translations (cherry picked from commit 77e7bb0) commit 814d395 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:54 2025 +0530 chore: Portuguese translations (cherry picked from commit 9233e77) commit 6fc4c06 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:52 2025 +0530 chore: Dutch translations (cherry picked from commit 32e5d56) commit 50ea06a Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:51 2025 +0530 chore: Hungarian translations (cherry picked from commit cea6b6c) commit daf0dda Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:49 2025 +0530 chore: Czech translations (cherry picked from commit 2d636d7) commit 70107a4 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:48 2025 +0530 chore: Arabic translations (cherry picked from commit 9d9caf2) commit f2e6380 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:46 2025 +0530 chore: Spanish translations (cherry picked from commit 4ff4f3c) commit eed1e23 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:45 2025 +0530 chore: French translations (cherry picked from commit 8167e13) commit 1bb75dd Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:43 2025 +0530 chore: German translations (cherry picked from commit 8e3cf38) commit 1086ce4 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:42 2025 +0530 chore: Serbian (Latin) translations (cherry picked from commit 2d8ada0) commit 39c5497 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:41 2025 +0530 chore: Bosnian translations (cherry picked from commit 4fba235) commit 4bc3143 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:39 2025 +0530 chore: Indonesian translations (cherry picked from commit f251d83) commit fe29087 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:38 2025 +0530 chore: Portuguese, Brazilian translations (cherry picked from commit 283b346) commit e4bdc05 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:36 2025 +0530 chore: Swedish translations (cherry picked from commit 9bcfcf4) commit 695f9e1 Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:34 2025 +0530 chore: Serbian (Cyrillic) translations (cherry picked from commit d80bbcd) commit 98747bd Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:33 2025 +0530 chore: Polish translations (cherry picked from commit 42ee5ea) commit 16ed1ad Author: Shariq Ansari <[email protected]> Date: Wed Sep 17 01:32:32 2025 +0530 chore: Italian translations (cherry picked from commit 1472a7f)
Problem:
ValidationError: Reference Doctype must be set firstSolution:
reference_doctypeandreference_docnamefieldsNonevalues to empty strings ("") to prevent validation errorsFiles Changed:
crm/api/doc.py- Enhanced bulk delete functions with proper validation and error handlingResult:
Fixes #1109