User Feedback Form #53

Closed
opened 2025-05-06 12:03:37 +00:00 by tobru · 0 comments
Owner

Stories

As a user, I want to easy provide feedback or ask questions directly from the Servala Portal

Implementation Notes

  • Create a new main menu entry in an org context, called "Support"
  • Implement a form with just a text field and a submit button
  • Submitting the form creates a record in Odoo in the helpdesk.ticket model
  • Out of scope: Listing of already submitted tickets, viewing of details, etc. The support flow will be handled via E-Mail to begin with, we'll add a more integrated solution with ticket listing etc. later

Field mapping when creating a record in the helpdesk.ticket Odoo model:

  • name: Title of the support ticket. Generated "Servala Support - Organization $Organization.name"
  • team_id: Configurable integer (can differ depending on the Odoo environment, currently it's 5 in PreProd)
  • partner_id: See below
  • sale_order_id: $Organization.odoo_sale_order_id
  • description: Text of the text field

For partner_id: Use the email address of the currently logged-in user to search for a matching partner record (company_type=person and type=contact) where the parent_id matches $Organization.billing_entity.odoo_company_id. If exactly 1 exists, use this records' ID, if more than 1 exists, use the first one, if none exists, create a record with the information about the user at hand and use the resulting ID.

## Stories _As a user, I want to easy provide feedback or ask questions directly from the Servala Portal_ ## Implementation Notes * Create a new main menu entry in an org context, called "Support" * Implement a form with just a text field and a submit button * Submitting the form creates a record in Odoo in the `helpdesk.ticket` model * Out of scope: Listing of already submitted tickets, viewing of details, etc. The support flow will be handled via E-Mail to begin with, we'll add a more integrated solution with ticket listing etc. later Field mapping when creating a record in the `helpdesk.ticket` Odoo model: * `name`: Title of the support ticket. Generated "Servala Support - Organization `$Organization.name`" * `team_id`: Configurable integer (can differ depending on the Odoo environment, currently it's 5 in PreProd) * `partner_id`: See below * `sale_order_id`: `$Organization.odoo_sale_order_id` * `description`: Text of the text field For `partner_id`: Use the email address of the currently logged-in user to search for a matching partner record (`company_type=person` and `type=contact`) where the `parent_id` matches `$Organization.billing_entity.odoo_company_id`. If exactly 1 exists, use this records' ID, if more than 1 exists, use the first one, if none exists, create a record with the information about the user at hand and use the resulting ID.
tobru added the
enhancement
label 2025-05-06 12:03:37 +00:00
tobru added this to the Development Planning project 2025-05-06 12:03:37 +00:00
tobru added this to the Servala Portal MVP milestone 2025-05-06 12:03:53 +00:00
tobru closed this issue 2025-06-23 09:51:53 +00:00
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: servala/servala-portal#53
No description provided.