Merge pull request #39564 from frappe/mergify/bp/version-15-hotfix/pr-39557

fix: make SO item code mandatory (backport #39557)
This commit is contained in:
Gursheen Kaur Anand 2024-01-25 16:39:39 +05:30 committed by GitHub
commit 14aa9d3d0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -118,6 +118,7 @@
"oldfieldtype": "Link",
"options": "Item",
"print_width": "150px",
"reqd": 1,
"width": "150px"
},
{
@ -908,7 +909,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2023-11-24 13:24:55.756320",
"modified": "2024-01-25 14:24:00.330219",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order Item",

View File

@ -43,7 +43,8 @@ class SalesOrderItem(Document):
gross_profit: DF.Currency
image: DF.Attach | None
is_free_item: DF.Check
item_code: DF.Link | None
is_stock_item: DF.Check
item_code: DF.Link
item_group: DF.Link | None
item_name: DF.Data
item_tax_rate: DF.Code | None