diff options
| author | Yannick Tivisse <yti@odoo.com> | 2020-05-07 09:40:26 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-05-08 12:17:20 +0000 |
| commit | 8ca96078dbeb61678f8c0656f90b09ab8a82981a (patch) | |
| tree | 457131a047d674e6b6e38fecd8abc50bce1e47de /addons/project/data/project_mail_template_data.xml | |
| parent | e4a4ffb974ccde1842e1b2389450718f8576ad5b (diff) | |
[IMP] rating: Add a retrocompatibily route
Purpose
=======
Even if the routes are correctly updated and the existing data is
correctly updated, the emails that were already sent to the customers
will be problematic, as we will provide a value which is not handled
anymore (10 for example).
To provide a retrocompatibility, deprecated the old route and
introduce a new one.
closes odoo/odoo#46296
Taskid: 2083096
Related: odoo/upgrade#889
Related: odoo/enterprise#10312
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/project/data/project_mail_template_data.xml')
| -rw-r--r-- | addons/project/data/project_mail_template_data.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/project/data/project_mail_template_data.xml b/addons/project/data/project_mail_template_data.xml index 441be455f31..347d4ae4d9c 100644 --- a/addons/project/data/project_mail_template_data.xml +++ b/addons/project/data/project_mail_template_data.xml @@ -60,17 +60,17 @@ <table style="width:100%;text-align:center;"> <tr> <td> - <a href="/rating/${access_token}/5"> + <a href="/rate/${access_token}/5"> <img alt="Satisfied" src="/rating/static/src/img/rating_5.png" title="Satisfied"/> </a> </td> <td> - <a href="/rating/${access_token}/3"> + <a href="/rate/${access_token}/3"> <img alt="Not satisfied" src="/rating/static/src/img/rating_3.png" title="Not satisfied"/> </a> </td> <td> - <a href="/rating/${access_token}/1"> + <a href="/rate/${access_token}/1"> <img alt="Highly Dissatisfied" src="/rating/static/src/img/rating_1.png" title="Highly Dissatisfied"/> </a> </td> |
