commit | b15795392bdf8165e7ddfb60451353ebefa177d2 | [log] [tgz] |
---|---|---|
author | s-aga-r <sagarsharma.s312@gmail.com> | Tue Jan 09 19:01:21 2024 +0530 |
committer | s-aga-r <sagarsharma.s312@gmail.com> | Tue Jan 09 19:03:06 2024 +0530 |
tree | 37bfc0d30935813a5188526e5801e14e5876e48a | |
parent | 274c65c451ccc71f11f29a2abc6d13b2b49b776c [diff] |
fix: Duplicate Closing Stock Balance
diff --git a/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py b/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py index f71d21d..1c70183 100644 --- a/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py +++ b/erpnext/stock/doctype/closing_stock_balance/closing_stock_balance.py
@@ -65,7 +65,7 @@ & ( (table.from_date.between(self.from_date, self.to_date)) | (table.to_date.between(self.from_date, self.to_date)) - | (table.from_date >= self.from_date and table.to_date <= self.to_date) + | (table.from_date >= self.from_date and table.to_date >= self.to_date) ) ) )