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

WARNING odoo openerp.addons.base.ir.ir_qweb: Could not get field lst_price for model product.template

Traceback (most recent call last):

File "/opt/odoo8.0/openerp/addons/base/ir/ir_qweb.py", line 600, in to_html

content = self.record_to_html(cr, uid, field_name, record, options, context=context)

File "/opt/odoo8.0/openerp/api.py", line 268, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo8.0/openerp/addons/base/ir/ir_qweb.py", line 839, in record_to_html

precision = int(math.floor(math.log10(display_currency.rounding)))

ValueError: math domain error

Ảnh đại diện
Huỷ bỏ

How you used lst_price field? Because lst_price is computed field. so that is not available in database table.

Tác giả

Hi! Thank you! you can explain better? When I find how to compute this field? =)

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 22
1057
1
thg 7 25
1876
1
thg 6 25
637
1
thg 5 25
1958
2
thg 4 25
1034