Merge pull request #39262 from s-aga-r/FIX-8208

fix: Duplicate Closing Stock Balance
This commit is contained in:
s-aga-r 2024-01-09 19:31:53 +05:30 committed by GitHub
commit 8252d92e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class ClosingStockBalance(Document):
& (
(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)
)
)
)