Skip to content

Commit d06df5a

Browse files
committed
[MIG] iot_ras_oca: migration to 16.0
1 parent 26dbc6f commit d06df5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

iot_ras_oca/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
33
{
44
"name": "IoT Templates",
5-
"version": "14.0.1.0.0",
5+
"version": "16.0.1.0.0",
66
"category": "IoT",
77
"author": "CreuBlanca",
88
"license": "AGPL-3",

iot_ras_oca/tests/test_ras.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_generation(self):
7878
attendance = self.env["hr.attendance"].search(
7979
[("employee_id", "=", self.employee.id)]
8080
)
81-
attendance.refresh()
81+
attendance.invalidate_recordset()
8282
self.assertTrue(attendance)
8383
self.assertEqual(1, len(attendance))
8484
self.assertTrue(attendance.check_out)

0 commit comments

Comments
 (0)