brotherton-erpnext/erpnext/crm/doctype
Ankush Menat a3ea985348
refactor: Use db.set_single_value (#35668)
I just applied semgrep autofix. Untested completed, review before merging.

```yaml
- id: frappe-set-value-semantics
  patterns:
    - pattern-either:
      - pattern: frappe.db.set_value($DOCTYPE, None, $...AFTER)
      - pattern: frappe.db.set_value($DOCTYPE, $DOCTYPE, $...AFTER)
  fix: frappe.db.set_single_value($DOCTYPE, $...AFTER)
  message: |
    If $DOCTYPE is a single doctype then using `frappe.db.set_value` is discouraged for setting values in DB. Use db.set_single_value for single doctype instead.
  languages: [python]
  severity: ERROR
```
2023-06-13 17:30:38 +05:30
..
appointment fix: removed unused data and minor changes 2022-12-16 15:55:58 +05:30
appointment_booking_settings fix: remove guest role from doctype 2022-12-15 16:47:27 +05:30
appointment_booking_slots chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
availability_of_slots chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
campaign style: format code with black 2022-03-28 18:52:46 +05:30
campaign_email_schedule chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
competitor feat: Competitor Tagging in Opportunity and Quotation (#28050) 2021-11-09 19:36:27 +05:30
competitor_detail feat: Competitor Tagging in Opportunity and Quotation (#28050) 2021-11-09 19:36:27 +05:30
contract style: format code with black 2022-03-28 18:52:46 +05:30
contract_fulfilment_checklist chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
contract_template style: format code with black 2022-03-28 18:52:46 +05:30
contract_template_fulfilment_terms chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
crm_note fix: merge conflicts and sider issues 2022-06-25 11:40:23 +05:30
crm_settings fix: merge conflicts and sider issues 2022-06-25 11:40:23 +05:30
email_campaign style: format code with black 2022-03-28 18:52:46 +05:30
lead refactor: use delete_contact_and_address (#34497) 2023-06-07 22:02:38 +05:30
lead_source feat: translate fixtures during runtime, not installation (#33996) 2023-02-14 09:29:27 +05:30
linkedin_settings fix: Added pos links in Selling workspace 2023-05-30 13:18:58 +05:30
lost_reason_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
market_segment chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
opportunity refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
opportunity_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
opportunity_lost_reason fix: allow renaming and merging (#29830) 2022-02-16 17:20:07 +05:30
opportunity_lost_reason_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
opportunity_type chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
prospect refactor: use delete_contact_and_address (#34497) 2023-06-07 22:02:38 +05:30
prospect_lead fix: merge conflicts and sider issues 2022-06-25 11:40:23 +05:30
prospect_opportunity fix: merge conflicts and sider issues 2022-06-25 11:40:23 +05:30
sales_stage feat: translate fixtures during runtime, not installation (#33996) 2023-02-14 09:29:27 +05:30
social_media_post fix(minor): update frappe.error_log to new API (#30864) 2022-05-02 15:04:26 +05:30
twitter_settings fix: Added pos links in Selling workspace 2023-05-30 13:18:58 +05:30
__init__.py [new-module] crm 2015-02-17 10:36:54 +05:30
utils.py style: format code with black 2022-03-28 18:52:46 +05:30