openspp-modules icon indicating copy to clipboard operation
openspp-modules copied to clipboard

Attendance Module including API

Open celinenilla opened this issue 1 year ago • 0 comments

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:

  • 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

celinenilla avatar Oct 03 '24 01:10 celinenilla