brotherton-erpnext/erpnext/patches
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
..
v4_2 style: format code with black 2022-03-28 18:52:46 +05:30
v5_7 style: format code with black 2022-03-28 18:52:46 +05:30
v8_1 style: format code with black 2022-03-28 18:52:46 +05:30
v10_0 refactor!: Remove custom cashflow report mapper (#35523) 2023-06-02 17:48:59 +05:30
v10_1 style: format code with black 2022-03-28 18:52:46 +05:30
v11_0 refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
v11_1 fix: remove HR/Payroll patches 2022-06-27 20:25:16 +05:30
v12_0 refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
v13_0 refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
v14_0 refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
v15_0 fix: enabling lead even after "Opportunity" created against it (#34627) 2023-03-30 08:03:55 +05:30
__init__.py chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30