mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 16:48:30 +00:00
fix: update description field to be optional in POS and Landed Cost Item
This commit is contained in:
@@ -160,7 +160,6 @@
|
||||
"oldfieldname": "description",
|
||||
"oldfieldtype": "Text",
|
||||
"print_width": "200px",
|
||||
"reqd": 1,
|
||||
"width": "200px"
|
||||
},
|
||||
{
|
||||
@@ -858,14 +857,15 @@
|
||||
],
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2024-05-07 15:56:53.343317",
|
||||
"modified": "2025-11-12 18:11:11.818015",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "POS Invoice Item",
|
||||
"naming_rule": "Random",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"row_format": "Dynamic",
|
||||
"sort_field": "creation",
|
||||
"sort_order": "DESC",
|
||||
"states": []
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ class POSInvoiceItem(SalesInvoiceItem):
|
||||
delivered_by_supplier: DF.Check
|
||||
delivered_qty: DF.Float
|
||||
delivery_note: DF.Link | None
|
||||
description: DF.TextEditor
|
||||
description: DF.TextEditor | None
|
||||
discount_amount: DF.Currency
|
||||
discount_percentage: DF.Percent
|
||||
distributed_discount_amount: DF.Currency
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
"oldfieldtype": "Data",
|
||||
"print_width": "300px",
|
||||
"read_only": 1,
|
||||
"reqd": 1,
|
||||
"width": "120px"
|
||||
},
|
||||
{
|
||||
@@ -145,7 +144,7 @@
|
||||
"idx": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2025-06-11 08:53:38.096761",
|
||||
"modified": "2025-11-12 18:12:47.107898",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Landed Cost Item",
|
||||
|
||||
@@ -17,7 +17,7 @@ class LandedCostItem(Document):
|
||||
amount: DF.Currency
|
||||
applicable_charges: DF.Currency
|
||||
cost_center: DF.Link | None
|
||||
description: DF.TextEditor
|
||||
description: DF.TextEditor | None
|
||||
is_fixed_asset: DF.Check
|
||||
item_code: DF.Link
|
||||
parent: DF.Data
|
||||
|
||||
Reference in New Issue
Block a user