Skip to content

Commit

Permalink
fix: make SO item code reqd
Browse files Browse the repository at this point in the history
(cherry picked from commit 7f8303a)
  • Loading branch information
GursheenK authored and mergify[bot] committed Jan 25, 2024
1 parent c3557a8 commit 171586d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"oldfieldtype": "Link",
"options": "Item",
"print_width": "150px",
"reqd": 1,
"width": "150px"
},
{
Expand Down Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion erpnext/selling/doctype/sales_order_item/sales_order_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 171586d

Please sign in to comment.