Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2005 Lượt xem

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`?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 25
346
0
thg 8 25
1090
1
thg 7 25
965
0
thg 6 25
845
1
thg 5 25
1505