mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-07 20:42:50 +00:00
feat: add stock uom read only field to stock reconciliation item doctype
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
"column_break_6",
|
"column_break_6",
|
||||||
"warehouse",
|
"warehouse",
|
||||||
"qty",
|
"qty",
|
||||||
|
"stock_uom",
|
||||||
"valuation_rate",
|
"valuation_rate",
|
||||||
"amount",
|
"amount",
|
||||||
"allow_zero_valuation_rate",
|
"allow_zero_valuation_rate",
|
||||||
@@ -86,6 +87,16 @@
|
|||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Quantity"
|
"label": "Quantity"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"columns": 2,
|
||||||
|
"fetch_from": "item_code.stock_uom",
|
||||||
|
"fieldname": "stock_uom",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"label": "Stock UOM",
|
||||||
|
"options": "UOM",
|
||||||
|
"read_only": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"columns": 2,
|
"columns": 2,
|
||||||
"fieldname": "valuation_rate",
|
"fieldname": "valuation_rate",
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ class StockReconciliationItem(Document):
|
|||||||
reconcile_all_serial_batch: DF.Check
|
reconcile_all_serial_batch: DF.Check
|
||||||
serial_and_batch_bundle: DF.Link | None
|
serial_and_batch_bundle: DF.Link | None
|
||||||
serial_no: DF.LongText | None
|
serial_no: DF.LongText | None
|
||||||
|
stock_uom: DF.Link | None
|
||||||
use_serial_batch_fields: DF.Check
|
use_serial_batch_fields: DF.Check
|
||||||
valuation_rate: DF.Currency
|
valuation_rate: DF.Currency
|
||||||
warehouse: DF.Link
|
warehouse: DF.Link
|
||||||
|
|||||||
Reference in New Issue
Block a user