From 2f2d3de3068e90fff7463448c901826551c49772 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Mon, 11 Jul 2022 17:42:15 +0530 Subject: [PATCH] fix: update SO's percentage billed on credit note Credit Note created from Sales Return will update precentage billed in Sales Order accordingly (cherry picked from commit 04c10192423ae0f4f746413a261d5709d1a21983) --- erpnext/accounts/doctype/sales_invoice/sales_invoice.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json index 499377d4263..bbbaa67c8e9 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json @@ -414,7 +414,7 @@ }, { "default": "0", - "depends_on": "eval: doc.is_return && doc.return_against", + "depends_on": "eval: doc.is_return", "fieldname": "update_billed_amount_in_sales_order", "fieldtype": "Check", "hide_days": 1, @@ -2046,7 +2046,7 @@ "link_fieldname": "consolidated_invoice" } ], - "modified": "2022-06-16 16:22:44.870575", + "modified": "2022-07-11 17:43:56.435382", "modified_by": "Administrator", "module": "Accounts", "name": "Sales Invoice",