brotherton-erpnext/erpnext/assets/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
..
asset refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
asset_capitalization fix: travis for asset capitalization and asset repair 2023-06-02 17:14:18 +05:30
asset_capitalization_asset_item chore(Asset Capitalization): isort linting 2021-09-14 15:13:35 +05:00
asset_capitalization_service_item chore(Asset Capitalization): isort linting 2021-09-14 15:13:35 +05:00
asset_capitalization_stock_item fix: travis for asset capitalization and asset repair 2023-06-02 17:14:18 +05:30
asset_category chore: remove whitelisting for method not accessed from UI 2023-05-31 14:39:03 +05:30
asset_category_account chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
asset_depreciation_schedule fix: calculate wdv depr schedule properly for existing assets [dev] (#35614) 2023-06-09 12:53:10 +05:30
asset_finance_book chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
asset_maintenance refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
asset_maintenance_log style: format code with black 2022-03-28 18:52:46 +05:30
asset_maintenance_task Asset maintenance task add dropdown "3 Yearly" (#34607) 2023-03-29 12:16:03 +00:00
asset_maintenance_team chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
asset_movement chore: update import paths for HR 2022-06-15 12:43:45 +05:30
asset_movement_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
asset_repair fix: stock reco test case for serial and batch bundle 2023-06-02 17:14:18 +05:30
asset_repair_consumed_item fix: travis for asset capitalization and asset repair 2023-06-02 17:14:18 +05:30
asset_value_adjustment fix: handle expected_value_after_useful_life properly in asset value adjustment (backport #35117) (#35119) 2023-05-01 19:59:58 +05:30
depreciation_schedule fix: refactor asset depr schedule and remove unnecessary depr method (#34434) 2023-03-16 18:18:47 +05:30
linked_location chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
location chore: hardcode doctype 2022-11-17 11:58:35 +05:30
maintenance_team_member chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
__init__.py Added maintenance to Asset and enhanced maintenance for Asset Maintenance 2017-11-28 15:14:56 +05:30