Bỏ qua

Developer mode

Bật

Cài đặt › Kích hoạt chế độ nhà phát triển

Hoặc URL: ?debug=1 (chỉ dùng dev/staging).

  • Models, Views, Actions, Security
  • Chỉnh XML view qua UI (không khuyến nghị trên production)
  • Edit Metadata trên field

Assets debug

?debug=assets — load JS/CSS không bundle (chậm, debug frontend).

Log level

Trong odoo.conf:

log_level = debug
log_handler = odoo.tools.convert:DEBUG

Shell Odoo

odoo-bin shell -d mydb
env['sale.order'].search_count([])

Danger

Không bật debug trên production cho user thường — lộ cấu trúc hệ thống.

Phía nghiệp vụ: Quản trị ứng dụng (Functional).