From 2ba37c6a9956d8530442f5893fcc29bad1459b8b Mon Sep 17 00:00:00 2001 From: Ashkar Date: Wed, 7 May 2025 18:24:14 +0530 Subject: [PATCH] pos branch --- posnext/doc_events/sales_invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posnext/doc_events/sales_invoice.py b/posnext/doc_events/sales_invoice.py index 798bd14..171c68e 100644 --- a/posnext/doc_events/sales_invoice.py +++ b/posnext/doc_events/sales_invoice.py @@ -2,8 +2,8 @@ def validate_si(doc,method): - if 'branch' not in doc.__dict__: - frappe.throw("Create Branch Accounting Dimensions.") + # if 'branch' not in doc.__dict__: + # frappe.throw("Create Branch Accounting Dimensions.") if doc.is_return and doc.is_pos: doc.update_outstanding_for_self = 0 if doc.payments: