Vì sao chạm vào DOM trong setup luôn null: hooks vòng đời onWillStart và onMounted
Component OWL có vòng đời: setup, onWillStart, render, onMounted. Nạp dữ liệu ở onWillStart; chạm DOM ở onMounted vì trước đó node chưa tồn tại. Đo thật thứ tự hook qua Console trên Odoo 19.