mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #40893 from frappe/mergify/bp/version-14-hotfix/pr-40883
fix: incorrect operator causing incorrect validation (backport #40883)
This commit is contained in:
@@ -44,7 +44,7 @@ class ClosingStockBalance(Document):
|
|||||||
& (
|
& (
|
||||||
(table.from_date.between(self.from_date, self.to_date))
|
(table.from_date.between(self.from_date, self.to_date))
|
||||||
| (table.to_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) & (table.to_date >= self.to_date))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user