Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3846 Представления

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

Аватар
Отменить

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

Автор

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

Related Posts Ответы Просмотры Активность
0
мая 22
989
1
июл. 25
1789
1
июн. 25
602
1
мая 25
1882
2
апр. 25
1004