fix: customer field made mandatory for sales invoice

This commit is contained in:
Nishka Gosalia
2026-02-25 12:43:20 +05:30
parent 1e297a0e5f
commit 1d4c835843
2 changed files with 3 additions and 2 deletions

View File

@@ -271,6 +271,7 @@
"oldfieldtype": "Link",
"options": "Customer",
"print_hide": 1,
"reqd": 1,
"search_index": 1
},
{
@@ -2330,7 +2331,7 @@
"link_fieldname": "consolidated_invoice"
}
],
"modified": "2026-02-23 13:29:00.301842",
"modified": "2026-02-25 12:41:57.043459",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",

View File

@@ -119,7 +119,7 @@ class SalesInvoice(SellingController):
cost_center: DF.Link | None
coupon_code: DF.Link | None
currency: DF.Link
customer: DF.Link | None
customer: DF.Link
customer_address: DF.Link | None
customer_group: DF.Link | None
customer_name: DF.SmallText | None