brotherton-erpnext/erpnext/setup/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
..
authorization_control fix: Remove HR & Payroll from Authorization Control and Rules 2022-07-01 11:28:34 +05:30
authorization_rule fix: Remove Expense Claim from Bank Reconciliation 2022-07-01 19:01:17 +05:30
branch chore: Update imports/paths for doctypes moved to erpnext setup module 2022-06-10 15:06:54 +05:30
brand fix: Brand Defaults filters 2022-10-12 12:15:07 +05:30
company test: currency inheritance on child accounts 2023-05-08 13:30:39 +05:30
currency_exchange refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
customer_group refactor: additional doctype access for 'Accounts User' role 2022-12-24 11:20:16 +05:30
department chore: hardcode doctype 2022-11-17 11:58:35 +05:30
designation feat: translate fixtures during runtime, not installation (#33996) 2023-02-14 09:29:27 +05:30
driver chore: Add Fleet Management masters in Setup module for Delivery Trip 2022-06-28 13:29:35 +05:30
driving_license_category chore: Add Fleet Management masters in Setup module for Delivery Trip 2022-06-28 13:29:35 +05:30
email_digest refactor: DB independent quoting and truthy/falsy values (#31358) 2022-06-17 17:01:27 +05:30
email_digest_recipient chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
employee perf: cache and simplify queries for holiday list (#35315) 2023-05-16 13:11:47 +05:30
employee_education chore: Update imports/paths for doctypes moved to erpnext setup module 2022-06-10 15:06:54 +05:30
employee_external_work_history chore: Update imports/paths for doctypes moved to erpnext setup module 2022-06-10 15:06:54 +05:30
employee_group chore: update import paths for HR 2022-06-15 12:43:45 +05:30
employee_group_table chore: Update imports/paths for doctypes moved to erpnext setup module 2022-06-10 15:06:54 +05:30
employee_internal_work_history chore: Update imports/paths for doctypes moved to erpnext setup module 2022-06-10 15:06:54 +05:30
global_defaults fix(gd): Scan FY only if current_fiscal_year set 2022-07-25 11:54:49 +05:30
holiday chore: Update imports/paths for doctypes moved to erpnext setup module 2022-06-10 15:06:54 +05:30
holiday_list perf: cache and simplify queries for holiday list (#35315) 2023-05-16 13:11:47 +05:30
incoterm feat: add connections to Incoterm doctype 2022-11-17 22:37:04 +01:00
item_group fix: Item tax validity comparison fixes (#34784) 2023-04-09 09:38:13 +05:30
party_type refactor: use db independent offset syntax (#31345) 2022-06-14 10:49:07 +05:30
print_heading style: format code with black 2022-03-28 18:52:46 +05:30
quotation_lost_reason style: format code with black 2022-03-28 18:52:46 +05:30
quotation_lost_reason_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
sales_partner style: format code with black 2022-03-28 18:52:46 +05:30
sales_person refactor: convert heatmap queries to QB (#33581) 2023-01-09 20:00:22 +05:30
supplier_group refactor: additional doctype access for 'Accounts User' role 2022-12-24 11:20:16 +05:30
target_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
terms_and_conditions fix: list view for Terms and Conditions (#33925) 2023-02-11 11:09:26 +05:30
territory refactor: additional doctype access for 'Accounts User' role 2022-12-24 11:20:16 +05:30
transaction_deletion_record refactor: clear records in batches in 'Transaction Deletion Record' (#34109) 2023-02-21 14:27:00 +05:30
transaction_deletion_record_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
uom style: format code with black 2022-03-28 18:52:46 +05:30
uom_conversion_factor chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
vehicle chore: Add Fleet Management masters in Setup module for Delivery Trip 2022-06-28 13:29:35 +05:30
website_item_group chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
__init__.py chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30