brotherton-erpnext/erpnext/e_commerce
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
..
doctype fix: whitelist doc method 2023-04-18 08:24:22 +05:30
product_data_engine chore: Remove image from ProductQuery fields 2022-07-05 20:31:04 +05:30
product_ui Fix: CSS not applied to product title (#35582) 2023-06-07 22:11:49 +05:30
shopping_cart refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
variant_selector fix: E-commerce issue with Item Variants 2023-03-21 14:44:12 +05:30
web_template fix: add missing options for Content Align 2023-05-12 15:06:03 +05:30
__init__.py feat: E-commerce Refactor 2021-10-12 15:16:21 +05:30
api.py fix(minor): update frappe.error_log to new API (#30864) 2022-05-02 15:04:26 +05:30
legacy_search.py style: format code with black 2022-03-28 18:52:46 +05:30
redisearch_utils.py refactor!: drop redisearch 2022-08-31 17:06:20 +05:30