跳至内容
所有讲座
  • Odoo Experience 2020
  • 会谈
  • 参展商
  • 议程
  • 所有活动
  • Odoo Experience 2020
  • 所有讲座
 
  • Odoo Experience 2020
  • 会谈
  • 参展商
  • 议程
  • 演讲
  • Keynote - Vision & Strategy
    Fabien Pinckaers
    已完成
  • Opening Keynote - Unveiling Odoo 14
    Fabien Pinckaers
    已完成
  • An In-depth Journey into Odoo's ORM
    Raphael Collet
    已完成
  • Security: Odoo Code Hardening
    Olivier Dony
    已完成
  • Odoo Website: How to Develop Building Blocks
    Samuel Degueldre
    已完成
  • Empower Your App by Inheriting from Odoo Mixins
    Thibault Delavallée
    已完成
  • Odoo's Test Framework: Learn Best Practices
    Raphael Collet
    已完成
  • UX in Business Apps: a Workshop for App Developers
    Fabien Pinckaers
    已完成
  • Tutorial: Develop an App with the Odoo Framework
    Yannick Tivisse
    已完成
  • Common Performance Pitfalls in Odoo Apps
    Nicolas Seinlet
    已完成
加载视频……
Why Browser Debugger is a Developer's Best Friend
Developer Talk
位置。 Studio 5 - 2020/10/1 15:00 - 2020/10/1 15:30 (Europe/Brussels) (30分钟)
接受测验
Why Browser Debugger is a Developer's Best Friend
Loan Sens
Investigation Developer at Odoo
Loan Sens
Investigation Developer at Odoo

Loan is a member of the Technical Support team at Odoo S.A. in Belgium. After graduating with a Master in Computer Science, he joined Odoo in 2019. In this role, he is responsible for investigating support tickets that clients submit. His specialties are issues related to Website and Web Client/Javascript.


Odoo's logs, tracebacks, and breakpoints in the code are all useful to understand how Odoo works. However, your browser can also be a precious ally!

In this talk, we will cover some of the developer tools available in your browser. We will see how interactions with the server work and how that is valuable information for custom developments, debugging/troubleshooting, and to spot performance issues.

Join us!

测验

What is the point of using "debug=assets" mode ?
Being able to see the real HTML code of our webpage. Without it some features are hidden such as menus and some fields. Use assets source file in order to see the actual code that is ran. Otherwise we could have the minified version which harder to read. Use to troubleshoot performance issue in order to load all ressources that are usually stored in the cache. Without it, cache resource may be use which may miss our modifications
What is the purpose of the "Network" development tool?
See request/call done between the page and the server See the HTML code of the currently loaded page Execute JavaScript code and evaluate in-scope variable values (if code is paused by a breakpoint in "Source")
I would like to know what happen in Odoo's code when I click on the "Setting" App on the Home page. I don't have any access to the server code/logs and there is no tooltip message to inform me on the method call. What would be the MOST EFFECTIVE way to see what method is called?
Open the "Elements" tool and read the HTML code of the button. The method called is defined on it Open the "Source" tool. Search for the JavaScript code trigger when the button is pressed. Add a breakpoint. Click the button. Evaluate in the "Console" the in scope variables until finding the one responsible for that. Open the "Network" tool. Click the button. Choose the first created requests and look at its "Request Payload"
工单
价格表: US: North America (USD) (2026) 价格表
US: North America (USD) (2026)

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now