summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-01-30 13:03:34 +0000
committerNicolas Lempereur <nle@odoo.com>2019-01-30 13:43:14 +0000
commit006002646ef04815a0c496d3cdd76de2f8ba2a56 (patch)
tree3558e75ef197068123bd231dd03a0c061530861a /addons/web/static/src
parentd11a2000c45071e793e6a6c402d15fa4cb67f2bd (diff)
[FIX] survey: resend survey input=>right one
When we use "Send invitation again" on a survey.user_input, it will send the first survey.user_input it finds corresponding to: - the state "new" or "skip", - the partner it must be sent to, - the survey the user_input corresponds to, - the email it must be sent to, or if none found, it could be create a new one. This is an okay behavior in most instance, but in the case of hr_appraisal where a manager could have same survey to fill for "employee A" and "employee B" and when you send them again, we would receive two mails linking to the same employee. With this changeset, the current behavior is kept but when an existing user_input is resent, we prioritize itself before searching a matching one. opw-1934478 closes #30693
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions