Odoo Help


Could not get field lst_price for model product.template

Alfonso Aragona
on 6/28/16, 4:20 AM 1,187 views

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.

Nikunj Antala
on 6/30/16, 3:02 AM

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

Alfonso Aragona
on 7/1/16, 10:22 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/28/16, 4:20 AM
Seen: 1187 times
Last updated: 6/28/16, 5:53 AM