fix: make company field mandatory in project doctype
This commit is contained in:
parent
ce252a0d45
commit
84d4888f5f
@ -15,7 +15,7 @@ frappe.require("assets/erpnext/js/financial_statements.js", function() {
|
||||
"fieldtype": "MultiSelectList",
|
||||
get_data: function(txt) {
|
||||
return frappe.db.get_link_options('Project', txt, {
|
||||
company: ["in", [frappe.query_report.get_filter_value("company"), ""]],
|
||||
company: frappe.query_report.get_filter_value("company")
|
||||
});
|
||||
},
|
||||
},
|
||||
|
@ -289,7 +289,8 @@
|
||||
"fieldtype": "Link",
|
||||
"label": "Company",
|
||||
"options": "Company",
|
||||
"remember_last_selected_value": 1
|
||||
"remember_last_selected_value": 1,
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_28",
|
||||
|
Loading…
x
Reference in New Issue
Block a user