feat(Item Price): make UOM mandatory (#40588)

This commit is contained in:
Raffael Meyer
2024-05-03 06:34:24 +02:00
committed by GitHub
parent 54a12c5186
commit a61148c464
2 changed files with 6 additions and 3 deletions

View File

@@ -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",
@@ -221,7 +224,7 @@
"idx": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-03-27 13:09:54.930834",
"modified": "2024-04-02 22:18:00.450641",
"modified_by": "Administrator",
"module": "Stock",
"name": "Item Price",

View File

@@ -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