- Hello ,
+ Hello
+ ,
You are requested to conduct
Training program for
-
+
department
from
diff --git a/employee_orientation/wizard/orientation_complete.py b/employee_orientation/wizard/orientation_complete.py
index 5c4fff6ae..d6f60cc3a 100644
--- a/employee_orientation/wizard/orientation_complete.py
+++ b/employee_orientation/wizard/orientation_complete.py
@@ -34,7 +34,7 @@ class OrientationForceComplete(models.TransientModel):
def pending_lines(self):
pending = []
- for data in self.orientation_id.orientation_request:
+ for data in self.orientation_id.orientation_request_ids:
if data.state == 'new':
pending.append(data.id)
self.update({'orientation_lines': pending})