1
內讀寫場我也跟着在https://www.odoo.com/documentation/9.0/howtos/web.html創建Odoo部件
文檔但是,當我試圖使讀寫場我有錯誤Cannot read property 'get' of undefined
<t t-if="! widget.get('effective_readonly')">
<input type="text"></input>
</t>
此代碼不能識別widget
。我應該在模板中使用什麼identifier
?如果沒有內置identifier
,那麼在哪裏定義identifier
?如何?