Odoo Help

Welcome!

This community 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.

0

Could not get field lst_price for model product.template

By
Alfonso Aragona
on 6/28/16, 4:20 AM 367 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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