From 7d99118a827dafe027195560b3983264d033ed72 Mon Sep 17 00:00:00 2001 From: Ashkar Date: Thu, 3 Apr 2025 21:27:23 +0530 Subject: [PATCH] fix:attributor error --- posnext/doc_events/sales_invoice.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/posnext/doc_events/sales_invoice.py b/posnext/doc_events/sales_invoice.py index d17fc01..0366115 100644 --- a/posnext/doc_events/sales_invoice.py +++ b/posnext/doc_events/sales_invoice.py @@ -13,13 +13,3 @@ def validate_si(doc,method): "mode_of_payment": mop[0].mode_of_payment, "amount": doc.rounded_total or doc.grand_total }) - - -# @frappe.whitelist() -# def validate_taxes(doc, method): -# if doc.taxes and doc.is_pos: -# for tax in doc.taxes: -# if not tax.included_in_print_rate: -# tax.included_in_print_rate = 1 -# else: -# tax.included_in_print_rate = 0