fix: include total hours validation in depends on

(cherry picked from commit 57d34ab146)
This commit is contained in:
l0gesh29
2025-12-24 18:35:48 +05:30
committed by Mergify
parent 9b88275312
commit cbfc13728b

View File

@@ -778,7 +778,7 @@
},
{
"collapsible": 1,
"depends_on": "eval:doc.total_billing_amount > 0",
"collapsible_depends_on": "eval:doc.total_billing_amount > 0 || doc.total_billing_hours > 0",
"fieldname": "time_sheet_list",
"fieldtype": "Section Break",
"hide_border": 1,
@@ -2090,7 +2090,7 @@
"fieldtype": "Column Break"
},
{
"depends_on": "eval:doc.total_billing_amount > 0",
"depends_on": "eval:doc.total_billing_amount > 0 || doc.total_billing_hours > 0",
"fieldname": "section_break_104",
"fieldtype": "Section Break"
},
@@ -2304,7 +2304,7 @@
"link_fieldname": "consolidated_invoice"
}
],
"modified": "2025-12-23 20:09:14.424656",
"modified": "2025-12-24 18:29:50.242618",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",