summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2020-05-07 09:40:26 +0000
committerYannick Tivisse <yti@odoo.com>2020-05-08 12:17:20 +0000
commit8ca96078dbeb61678f8c0656f90b09ab8a82981a (patch)
tree457131a047d674e6b6e38fecd8abc50bce1e47de /doc
parente4a4ffb974ccde1842e1b2389450718f8576ad5b (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 'doc')
-rw-r--r--doc/reference/mixins.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/mixins.rst b/doc/reference/mixins.rst
index b64387fcc2c..953b604ffa3 100644
--- a/doc/reference/mixins.rst
+++ b/doc/reference/mixins.rst
@@ -1030,9 +1030,9 @@ links to the rating object. A very basic email template could look like this:
<p>Hi,</p>
<p>How satsified are you?</p>
<ul>
- <li><a href="/rating/${access_token}/5">Satisfied</a></li>
- <li><a href="/rating/${access_token}/3">Not satisfied</a></li>
- <li><a href="/rating/${access_token}/1">Very unsatisfied</a></li>
+ <li><a href="/rate/${access_token}/5">Satisfied</a></li>
+ <li><a href="/rate/${access_token}/3">Not satisfied</a></li>
+ <li><a href="/rate/${access_token}/1">Very unsatisfied</a></li>
</ul>
]]></field>
</record>