brotherton-erpnext/erpnext/stock
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
..
dashboard fix: stock entry from item dashboard (stock levels) 2023-02-03 18:08:34 +05:30
dashboard_chart fix: add range filters to oldest items chart 2020-07-29 18:06:54 +05:30
dashboard_chart_source fix: sum stock_value and group by warehouse 2022-07-14 18:53:50 -04:00
doctype refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
form_tour fix: reorder stock reco tour 2023-05-29 14:44:54 +05:30
module_onboarding/stock fix: replace stock projected with ledger 2023-05-29 14:44:54 +05:30
number_card chore: Export Stock Dashboard (#22768) 2020-07-22 16:17:40 +05:30
onboarding_step fix: replace stock projected with ledger 2023-05-29 14:44:54 +05:30
page fix: bulk fix (~330) missing translations 2022-04-04 13:59:51 +05:30
print_format feat: added jinja method get_serial_or_batch_nos for print format and new print format 'Purchase Receipt Serial and Batch Bundle Print for reference 2023-06-02 17:14:18 +05:30
report feat: added jinja method get_serial_or_batch_nos for print format and new print format 'Purchase Receipt Serial and Batch Bundle Print for reference 2023-06-02 17:14:18 +05:30
spec chore: typo 2022-07-12 12:39:22 +05:30
stock_dashboard/stock chore: Export Stock Dashboard (#22768) 2020-07-22 16:17:40 +05:30
tests test: fix hypothesis tests (#34416) 2023-03-13 15:16:30 +05:30
workspace/stock refactor: Workspace cleanup 2023-05-30 13:17:59 +05:30
__init__.py style: format code with black 2022-03-28 18:52:46 +05:30
deprecated_serial_batch.py test: test cases for serial and batch bundle 2023-06-02 17:14:18 +05:30
get_item_details.py feat: auto create serial and batch bundle 2023-06-02 17:14:16 +05:30
landed_taxes_and_charges_common.js chore: add additional-cost table in SCR 2022-08-18 20:59:30 +05:30
README.md
reorder_item.py refactor: DB independent quoting and truthy/falsy values (#31358) 2022-06-17 17:01:27 +05:30
serial_batch_bundle.py fix: added validation for insufficient stock during stock transfer 2023-06-05 16:58:54 +05:30
stock_balance.py refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
stock_ledger.py fix: Stock Reconciliation document update while reposting 2023-06-12 18:28:16 +05:30
utils.py fix: travis 2023-06-02 17:14:17 +05:30
valuation.py fix: maintain FIFO queue even if outgoing_rate is not found (#30560) 2022-04-04 15:22:15 +05:30

Inventory management module.