コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1995 ビュー

I am finding the call stack for errors is hard to follow, and to a point the call stack is not helpful at all.

For example, when I am trying to implement this function 

https://github.com/Oesparza27/real-state/blob/master/estate_account/models/estate_property.py#L10


and all I got from the odoo is

> /home/chung/repos/odoo/odoo/models.py(5335)_update_cache() 
-> raise ValueError("Invalid field %r on model %r" % (e.args[0], self._name))


It doesn't point out at what line and in what file caused the error.

It is also happening to errors/exceptions caused in XML files too.


Did I need to configure something to make the debug message more helpful and `to the point`?

アバター
破棄
関連投稿 返信 ビュー 活動
1
9月 25
267
0
8月 25
1079
1
7月 25
928
0
6月 25
839
1
5月 25
1492