You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attendee
Data of the Individual / Person / Beneficiaries would be available on a server1 and would be sent from Server1 to Odoo UI via API1
Attendance
Attendance data of the Individual / Person / Beneficiaries would be available on a server2 and would be sent from Server2 to Odoo UI via API2. Client ID and Client Secret is required to sync this data.
For testing purpose a pseudo-postman inside the UI is to be created. Only Admin would have access to it. Following would be the features required for this postman:
Access Token (POST Get Access Token)
Client would need to be created on UI. Which would provide Client ID and Client Secret
Access Token would need to be created on Postman? (TBC with Red)
Following would be required to be configured on Odoo UI:
URL and Auth Setting
Mappings
Create Attendance (POST Create Attendance)
User can create Attendance records for each Individual / Person / Beneficiaries
Get Attendance of a Person (POST Get Attendance of a Person)
User can get all the attendance records for a specific person using this option.
Get Attendance List (POST Get Attendance List)
User can get all the attendance records for all the individuals using this option
Get Present Subscriber based on Date (POST Get Present Subscriber based on Date)
Using this options user can filter the list of Attendees in a specific date range
Odoo UI
Attendance Subscriber - This is a view created under Attendance menu on the home page of Odoo UI. User can see the list of Attendees fetched via API1.
User can add new Individual / Person / Beneficiaries manually on this view.
User Roles
Attendance Manager - This user can Create / View / Edit / Delete
Attendance Viewer - This user can only View
Attendance Details - This is a view created inside of Attendee.
User can see the list of all the Attendance Records of the Attendee fetched via API2 under Attendance tab.
User Roles
Attendance Manager - This user can Create / View / Edit / Delete
Attendance Viewer - This user can only View
The text was updated successfully, but these errors were encountered:
Test environment: Attendance Server
Browser: Chrome version:129.0.6668.100 (Official Build) (arm64)
OS: MacOS Sonoma 14.3
Testing Steps:
Install attendance module to Odoo UI
-verified that "Attendance" menu is available
Configure "Attendance API client credentials"
-verified that API Client and API Secret UUIDs are prefixed
Note: "Show" button for API client and secret only appears once so make sure to copy keys on a notepad.
Use postman to simulate API
a.Access Token (POST Get Access Token)
-verified that got response 200
b.Create Attendance (POST Create Attendance)
-verified that got response 200
-verified that attendance declaration reflects on Odoo UI
c.Get Attendance of all person (POST Get Attendance List)
-verified that got response 200
d.Get Attendance of person (POST Get Person Attendance)
-verified that got response 200
e.Get Attendance Types
-verified that got response 200
f.Get Attendance Location
-verified that got response 200
Also tested filters on "Get Attendance of person" and "Get Attendance of all person"
-attendance_type
-location_type
Sent Attendance declaration via Self-registration app
-verified that attendance declared successfully reflected on the attendance server
Conclusion:
Testing was successful. The new attendance module feature is working as expected.
Attendance Module API
Attendee
Data of the Individual / Person / Beneficiaries would be available on a server1 and would be sent from Server1 to Odoo UI via API1
Attendance
Attendance data of the Individual / Person / Beneficiaries would be available on a server2 and would be sent from Server2 to Odoo UI via API2.
Client ID and Client Secret is required to sync this data.
For testing purpose a
pseudo-postman
inside the UI is to be created. Only Admin would have access to it. Following would be the features required for this postman:Odoo UI
The text was updated successfully, but these errors were encountered: