Skip to Content
Catalog / WEB · Website & Themes / AlshayebCo Custom Links
AlshayebCo Custom Links
alshayebco_custom_links

AlshayebCo Custom Links

Capture employer surveys and trainee applications via public bilingual web forms.

v19.0.1.0.0 AlshayebCo Website & Themes Application

Adds two models, alshayebco custom survey response and alshayebco custom loi application, each with a draft/submitted state, tracking, company_id, IP/timestamp metadata, and @api constrains validations. Two website-enabled HTTP controllers expose public GET/POST routes (/training-survey, /applicant-loi) plus auth='user' XLSX download endpoints; controllers map HTML form keys to model fields. company is extended with per-company notification recipient (Many2many res users), CC, and confirmation-toggle fields surfaced via settings. Mail templates drive notification and confirmation emails; ir.actions.report records produce A4 QWeb PDFs. Frontend SCSS/JS are scoped under .o_acl_* in web assets_frontend. Depends on website and mail; XLSX export requires the xlsxwriter library.

Overview

AlshayebCo runs an Odoo Accountants Training Program that needs to collect structured information from two public audiences: employers gauging hiring intent and prospective trainees applying to the program. This module exposes two bilingual (English/Arabic) public web forms at /training-survey and /applicant-loi that save each submission as a tracked Odoo record, so staff never re-key data from PDFs or email threads. Every submission triggers configurable internal notification emails plus an optional acknowledgement to the respondent, and each record can be exported to XLSX or printed as an A4 PDF. It acts as a hub for AlshayebCo's small public-facing routes, keeping these features in one installable module instead of many.

Workflow

Alshayebco Custom Survey Response

Draft
Submitted

Alshayebco Custom Loi Application

Draft
Submitted

Key Features

  • Public bilingual (English/Arabic) employer survey form at /training-survey, open without login.
  • Public bilingual applicant Letter of Interest form at /applicant-loi capturing 33 fields across five sections.
  • Saves every web submission as a tracked Odoo record with submitter IP and submission timestamp.
  • Server-side validation of email format, required declarations, consent, and minimum motivation length.
  • Configurable per-company notification recipients and CC list for each form under Settings.
  • Optional automatic acknowledgement email to the respondent on submission.
  • One-click XLSX export of any response, organized by the form's original sections.
  • A4 PDF report of any survey response or applicant LOI for printing or sharing.
  • Read-only backend lists of all survey responses and LOI applications for review.
  • Employer survey supports a non-binding hiring pledge with signed Letter of Intent upload.

Technical Details

Technical Name alshayebco_custom_links
Version 19.0.1.0.0
License LGPL-3
Domain WEB · Website & Themes

Menu Structure

Custom Links
Survey Responses
Public: Survey
LOI Applications
Public: LOI

Security

Both submission models are read-only for all internal users (read access only, no create/edit), while system administrators additionally may delete records. The public web forms write submissions through elevated server-side access, so anonymous visitors never get direct model rights. Notification and confirmation emails are sent with elevated privileges so public submissions can trigger them safely.

Internal User (base.group_user) - read-only access to survey responses and LOI applications, plus the public-form launcher menus Settings/Administrator (base.group_system) - read and delete on both submission models

Dependencies

website mail