Skip to content

Commit

Permalink
fix: hide payment terms for return and paid purchase invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
ljain112 committed Oct 25, 2024
1 parent 8b700ea commit 912e1e3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1136,12 +1136,14 @@
"label": "Payment Terms"
},
{
"depends_on": "eval:(!doc.is_paid && !doc.is_return)",
"fieldname": "payment_terms_template",
"fieldtype": "Link",
"label": "Payment Terms Template",
"options": "Payment Terms Template"
},
{
"depends_on": "eval:(!doc.is_paid && !doc.is_return)",
"fieldname": "payment_schedule",
"fieldtype": "Table",
"label": "Payment Schedule",
Expand Down Expand Up @@ -1639,7 +1641,7 @@
"idx": 204,
"is_submittable": 1,
"links": [],
"modified": "2024-09-18 12:24:44.826539",
"modified": "2024-10-25 18:13:01.944477",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Invoice",
Expand Down

0 comments on commit 912e1e3

Please sign in to comment.