diff options
| author | Achraf (abz) <abz@odoo.com> | 2020-12-14 10:46:13 +0000 |
|---|---|---|
| committer | Achraf (abz) <abz@odoo.com> | 2020-12-15 06:15:10 +0000 |
| commit | a0c7880c0bd25fc8c5dd23755acc59966c62cbf9 (patch) | |
| tree | fb79b2993da0bf23a5ec582708142505c26bd0a8 /doc/reference/javascript_reference.rst | |
| parent | d68ae11c233589895c4e78178ef5b146238b543e (diff) | |
[FIX] web: Load odoo script after other scripts
What are the steps to reproduce your issue ?
1. Install website
2. Connect on the website
3. Choose Customize > HTML/CSS/JS Editor
4. Choose "Web layout" (in "XML (HTML)" )
5. Modify the HTML code by adding any <script> before the existing <script> (console.log whatever)
6. Save
7. Refresh
What is currently happening ?
Traceback: TypeError: Cannot read property 'user_context' of undefined
How to fix the bug ?
Target the odoo script by id in the xpath.
opw-2375490
closes odoo/odoo#63357
X-original-commit: 0b7ba571431d694dea7db3ba1da4c7e86d1013e5
Signed-off-by: Achraf <abz-odoo@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
