fix: incorrect operator causing incorrect validation
(cherry picked from commit6b317b0c0d) (cherry picked from commit7e1ab75b38)
This commit is contained in:
committed by
Mergify
parent
fb076d34b1
commit
60ba62e882
@@ -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