brotherton-erpnext/erpnext/stock/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
..
batch test: test cases for serial and batch bundle 2023-06-02 17:14:18 +05:30
bin feat: reserve qty against production plan raw materials in BIN 2023-05-03 18:21:23 +05:30
closing_stock_balance fix: TypeError in Closing Stock Balance 2023-06-09 09:30:24 +05:30
customs_tariff_number chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
delivery_note refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
delivery_note_item refactor: added new file serial batch bundle 2023-06-02 17:14:14 +05:30
delivery_settings chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
delivery_stop chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
delivery_trip Merge branch 'develop' into hr-separation 2022-06-28 11:51:59 +05:30
inventory_dimension fix: inventory dimension for inter company transfer return use case 2023-05-13 13:00:05 +05:30
item refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
item_alternative chore: Alternative Item Code error msg 2023-03-08 20:07:30 +05:30
item_attribute fix: linting 2023-01-12 20:53:12 +05:30
item_attribute_value chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
item_barcode feat(stock): Support more barcodes in an item by validate the barcode with the barcodenumber module (#33863) 2023-02-19 19:36:05 +05:30
item_customer_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
item_default feat: Item-wise provisional accounting for service items 2022-04-11 14:35:22 +05:30
item_manufacturer style: format code with black 2022-03-28 18:52:46 +05:30
item_price Merge pull request #34189 from rohitwaghchaure/prevent-to-make-item-price-for-template 2023-02-23 20:47:48 +05:30
item_quality_inspection_parameter chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
item_reorder chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
item_supplier fix: require barcode item barcode. (#31957) 2022-09-07 12:59:46 +05:30
item_tax chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
item_variant chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
item_variant_attribute chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
item_variant_settings style: format code with black 2022-03-28 18:52:46 +05:30
item_website_specification chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
landed_cost_item chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
landed_cost_purchase_receipt chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
landed_cost_taxes_and_charges chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
landed_cost_voucher refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
manufacturer style: format code with black 2022-03-28 18:52:46 +05:30
material_request refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
material_request_item fix: error regarding accepted and supplier warehouse 2023-05-07 20:27:17 +05:30
packed_item refactor: added new file serial batch bundle 2023-06-02 17:14:14 +05:30
packing_slip test: add test case for packed qty validation on DN submit 2023-05-01 07:25:36 +05:30
packing_slip_item chore: enable no_copy for dn_detail and pi_detail in Packing Slip Item 2023-04-28 15:05:28 +05:30
pick_list Merge pull request #35510 from s-aga-r/FIX-ISS-23-24-01141 2023-06-03 11:18:05 +05:30
pick_list_item refactor: added new file serial batch bundle 2023-06-02 17:14:14 +05:30
price_list fix: should never get cutomer price on purchase document (#34002) 2023-02-13 20:56:05 +05:30
price_list_country chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
purchase_receipt refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
purchase_receipt_item refactor: added new file serial batch bundle 2023-06-02 17:14:14 +05:30
putaway_rule fix: travis for POS merge invoice and putaway rule 2023-06-02 17:14:18 +05:30
quality_inspection refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
quality_inspection_parameter chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
quality_inspection_parameter_group chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
quality_inspection_reading chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
quality_inspection_template style: format code with black 2022-03-28 18:52:46 +05:30
quick_stock_balance style: format code with black 2022-03-28 18:52:46 +05:30
repost_item_valuation fix: old data reposting causing low server disk space 2023-05-31 18:20:56 +05:30
sales_bom
sales_bom_item
serial_and_batch_bundle fix(ux): set warehouse for new row 2023-06-09 12:22:24 +05:30
serial_and_batch_entry fix: travis 2023-06-02 17:14:17 +05:30
serial_no fix: stock reco test case for serial and batch bundle 2023-06-02 17:14:18 +05:30
shipment feat: create incoterms and migrate shipments 2022-11-17 22:16:43 +01:00
shipment_delivery_note chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
shipment_parcel chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
shipment_parcel_template chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
stock_entry refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
stock_entry_detail refactor: added new file serial batch bundle 2023-06-02 17:14:14 +05:30
stock_entry_type style: format code with black 2022-03-28 18:52:46 +05:30
stock_ledger_entry refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
stock_reconciliation refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
stock_reconciliation_item fix: stock reco test case for serial and batch bundle 2023-06-02 17:14:18 +05:30
stock_reposting_settings feat: configuration to notify reposting errors to specific role 2023-05-04 16:49:14 +05:30
stock_reservation_entry 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
stock_settings refactor: Use db.set_single_value (#35668) 2023-06-13 17:30:38 +05:30
uom_category chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
uom_conversion_detail chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
variant_field fix(UX): use autocomplete for variant fields 2022-03-25 16:18:58 +05:30
warehouse fix: filter parent warehouses by company 2023-05-29 14:44:54 +05:30
warehouse_type chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30
__init__.py chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30