brotherton-erpnext/erpnext/controllers
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
..
tests refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
__init__.py moved modules inside erpnext folder 2013-12-11 10:43:52 +05:30
accounts_controller.py fix(regional): allow regional override for updating gl_dict (#35550) 2023-06-05 01:43:26 +05:30
buying_controller.py fix: travis 2023-06-02 17:14:17 +05:30
item_variant.py style: format code with black 2022-03-28 18:52:46 +05:30
print_settings.py style: format code with black 2022-03-28 18:52:46 +05:30
queries.py fix: get_query for batch number and incorrect batch qty 2023-06-04 16:09:01 +05:30
sales_and_purchase_return.py fix: travis for POS merge invoice and putaway rule 2023-06-02 17:14:18 +05:30
selling_controller.py fix: get party details 2023-06-06 15:39:22 +05:30
status_updater.py fix: Percentage billing in Sales Order (#34606) 2023-03-28 15:33:59 +05:30
stock_controller.py fix: travis 2023-06-02 17:14:17 +05:30
subcontracting_controller.py fix: travis for subcontracting module 2023-06-02 17:14:18 +05:30
taxes_and_totals.py fix: set frappe.flags.company to call regional code accurately 2023-04-20 05:17:30 -07:00
trends.py perf: use get_cached_value instead of db.get_value in controllers (#32776) 2022-11-07 09:21:03 +05:30
website_list_for_contact.py fix: filters not getting applied on Web Form 2023-03-09 22:12:35 +05:30