* feat(Item Price): make UOM mandatory (#40588)
(cherry picked from commit a61148c464)
# Conflicts:
# erpnext/stock/doctype/item_price/item_price.json
* chore: `conflicts`
---------
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
@@ -52,10 +52,13 @@
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"fetch_from": "item_code.stock_uom",
|
||||
"fetch_if_empty": 1,
|
||||
"fieldname": "uom",
|
||||
"fieldtype": "Link",
|
||||
"label": "UOM",
|
||||
"options": "UOM"
|
||||
"options": "UOM",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
@@ -220,7 +223,7 @@
|
||||
"idx": 1,
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2024-01-30 14:02:19.304854",
|
||||
"modified": "2024-04-02 22:18:00.450641",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Item Price",
|
||||
|
||||
@@ -38,7 +38,7 @@ class ItemPrice(Document):
|
||||
reference: DF.Data | None
|
||||
selling: DF.Check
|
||||
supplier: DF.Link | None
|
||||
uom: DF.Link | None
|
||||
uom: DF.Link
|
||||
valid_from: DF.Date | None
|
||||
valid_upto: DF.Date | None
|
||||
# end: auto-generated types
|
||||
|
||||
Reference in New Issue
Block a user