Skip to content

Commit

Permalink
TA#58266 [14.0][FIX] hr_employee_declaration: Display images in Readme (
Browse files Browse the repository at this point in the history
  • Loading branch information
majouda authored Jan 28, 2025
1 parent d8413be commit 9fa5c52
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions hr_employee_declaration/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@ New Survey Type
---------------
A new survey type `Employee Declaration` is added.

.. image:: hr_employee_declaration/static/description/survey_type.png
.. image:: static/description/survey_type.png

Declarations Tab
----------------
A new tab `Declarations` is added in the employee form view.

This tab contains a few fields related to the configuration of the annual declaration.

.. image:: hr_employee_declaration/static/description/employee_declaration_tab.png
.. image:: static/description/employee_declaration_tab.png

Survey
~~~~~~
This field is used to select the survey that will be sent for the declaration.
Only surveys of type `Employee Declaration` can be selected.

.. image:: hr_employee_declaration/static/description/employee_survey_field.png
.. image:: static/description/employee_survey_field.png

Send To
~~~~~~~
This field contains the recipient of the survey.
If not filled, the survey is sent to the employee himself.

.. image:: hr_employee_declaration/static/description/employee_send_to_field.png
.. image:: static/description/employee_send_to_field.png

Periodic Declarations
~~~~~~~~~~~~~~~~~~~~~
A boolean field `Periodic Declarations` is added.

.. image:: hr_employee_declaration/static/description/employee_periodic_declaration_field.png
.. image:: static/description/employee_periodic_declaration_field.png

When checked, the following 2 fields become visible:

Expand All @@ -50,11 +50,11 @@ Declaration Email Template
~~~~~~~~~~~~~~~~~~~~~~~~~~
This field is used to select the email template to use for sending the survey.

.. image:: hr_employee_declaration/static/description/employee_email_template_field.png
.. image:: static/description/employee_email_template_field.png

Here is an example of valid email for the employee declaration.

.. image:: hr_employee_declaration/static/description/mail_template_example.png
.. image:: static/description/mail_template_example.png

* Applies to: `Survey User Input` (survey.user_input)
* Subject: Annual Declaration for ${object.declaration_employee_id.name}
Expand All @@ -70,11 +70,11 @@ Here is an example of valid email for the employee declaration.

The body must contain a button with `__URL__` as URL.

.. image:: hr_employee_declaration/static/description/mail_template_url_button.png
.. image:: static/description/mail_template_url_button.png

In the `Email Configuration` tab, the field `To (Partners)` must contain `${object.partner_id.id}`.

.. image:: hr_employee_declaration/static/description/mail_template_partner_to.png
.. image:: static/description/mail_template_partner_to.png

Contributors
------------
Expand Down

0 comments on commit 9fa5c52

Please sign in to comment.