mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
feat: enhance barcode scanner to support warehouse scanning (#48865)
Co-authored-by: Sagar Vora <16315650+sagarvora@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
"ignore_pricing_rule",
|
||||
"items_section",
|
||||
"scan_barcode",
|
||||
"last_scanned_warehouse",
|
||||
"items",
|
||||
"sec_break23",
|
||||
"total_qty",
|
||||
@@ -1099,13 +1100,20 @@
|
||||
"hidden": 1,
|
||||
"label": "Has Unit Price Items",
|
||||
"no_copy": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "eval: doc.last_scanned_warehouse",
|
||||
"fieldname": "last_scanned_warehouse",
|
||||
"fieldtype": "Data",
|
||||
"is_virtual": 1,
|
||||
"label": "Last Scanned Warehouse"
|
||||
}
|
||||
],
|
||||
"icon": "fa fa-shopping-cart",
|
||||
"idx": 82,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2025-05-27 16:04:39.208077",
|
||||
"modified": "2025-07-31 17:23:48.875382",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Selling",
|
||||
"name": "Quotation",
|
||||
@@ -1204,4 +1212,4 @@
|
||||
"states": [],
|
||||
"timeline_field": "party_name",
|
||||
"title_field": "customer_name"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,6 +74,7 @@ class Quotation(SellingController):
|
||||
incoterm: DF.Link | None
|
||||
items: DF.Table[QuotationItem]
|
||||
language: DF.Link | None
|
||||
last_scanned_warehouse: DF.Link | None
|
||||
letter_head: DF.Link | None
|
||||
lost_reasons: DF.TableMultiSelect[QuotationLostReasonDetail]
|
||||
named_place: DF.Data | None
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
"ignore_pricing_rule",
|
||||
"sec_warehouse",
|
||||
"scan_barcode",
|
||||
"last_scanned_warehouse",
|
||||
"column_break_28",
|
||||
"set_warehouse",
|
||||
"reserve_stock",
|
||||
@@ -1680,6 +1681,13 @@
|
||||
"hidden": 1,
|
||||
"label": "Has Unit Price Items",
|
||||
"no_copy": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "eval: doc.last_scanned_warehouse",
|
||||
"fieldname": "last_scanned_warehouse",
|
||||
"fieldtype": "Data",
|
||||
"is_virtual": 1,
|
||||
"label": "Last Scanned Warehouse"
|
||||
}
|
||||
],
|
||||
"icon": "fa fa-file-text",
|
||||
|
||||
@@ -122,6 +122,7 @@ class SalesOrder(SellingController):
|
||||
is_internal_customer: DF.Check
|
||||
items: DF.Table[SalesOrderItem]
|
||||
language: DF.Link | None
|
||||
last_scanned_warehouse: DF.Link | None
|
||||
letter_head: DF.Link | None
|
||||
loyalty_amount: DF.Currency
|
||||
loyalty_points: DF.Int
|
||||
|
||||
Reference in New Issue
Block a user