Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid field 'lst_price' on model 'product.template' #93

Open
mariogustavoorrillo opened this issue Jun 27, 2022 · 0 comments
Open

Invalid field 'lst_price' on model 'product.template' #93

mariogustavoorrillo opened this issue Jun 27, 2022 · 0 comments

Comments

@mariogustavoorrillo
Copy link

While importing products and orders in meli_oerp 15CE, I get the following error message

Traceback (most recent call last):
File "/opt/odoo15/sources/meli_oerp/models/product.py", line 1451, in product_meli_get_product
product._meli_set_product_price( product_template, rjson['price'], force_variant=force_price_for_variant, config=config )
File "/opt/odoo15/sources/meli_oerp/models/product.py", line 592, in _meli_set_product_price
product_template.write({'lst_price': ml_price_converted})
File "/opt/odoo15/odoo/addons/stock_account/models/product.py", line 51, in write
res = super(ProductTemplate, self).write(vals)
File "/opt/odoo15/odoo/addons/mrp/models/product.py", line 64, in write
return super().write(values)
File "/opt/odoo15/odoo/addons/stock/models/product.py", line 874, in write
return super(ProductTemplate, self).write(vals)
File "/opt/odoo15/odoo/addons/product/models/product_template.py", line 503, in write
res = super(ProductTemplate, self).write(vals)
File "/opt/odoo15/odoo/addons/mail/models/mail_thread.py", line 323, in write
result = super(MailThread, self).write(values)
File "/opt/odoo15/odoo/addons/mail/models/mail_activity_mixin.py", line 243, in write
return super(MailActivityMixin, self).write(vals)
File "/opt/odoo15/odoo/addons/website/models/mixins.py", line 224, in write
return super(WebsitePublishedMixin, self).write(values)
File "/opt/odoo15/odoo/addons/rating/models/rating_mixin.py", line 84, in write
result = super(RatingMixin, self).write(values)
File "/opt/odoo15/odoo/odoo/models.py", line 3789, in write
raise ValueError("Invalid field %r on model %r" % (fname, self._name))
ValueError: Invalid field 'lst_price' on model 'product.template'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant