fix: update description field to be optional in POS and Landed Cost Item

This commit is contained in:
ljain112
2025-11-12 18:15:32 +05:30
parent b9affe0cd8
commit 5cfa71fa47
4 changed files with 6 additions and 7 deletions

View File

@@ -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": []
}
}

View File

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

View File

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

View File

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