Skip to content
Snippets Groups Projects

Add find() method needed by other modules

Merged arthur.mayer requested to merge topic/16.0/find into branch/16.0
All threads resolved!
Files
3
+ 1
1
@@ -46,7 +46,7 @@
for accdoc in self:
acc_date = accdoc.date or today
period = self.env["account.period"].find(date=accdoc.date)
period = self.env["account.period"].find(date=acc_date)
# When we are between the period end and cut-off date, force the
# last day of the period.
Loading