Skip to Content
Menu
This question has been flagged
2 Replies
5901 Views

Hi, 

I used Odoo 8.0 Web client, i deleted the Default Public Pricelist Version and create new versions but when i create a new product, i got this error "Could not evaluate expression '(compute_currency(product.lst_price) - product.price) > 0.1'" "At least one pricelist has no active version !\nPlease create or activate one.".

As i understand Odoo not update database with the new pricelist versions and i don't know how to update database and delete the old versions.

Thanks in Advance.

Avatar
Discard
Best Answer

The error tells you exactly what is missing. You most likely are trying to create an entry using a specific pricelist that has 2 dates (start- and enddate) filled in but outside of the range you are trying to create the entry in.

2 Options:

  1. Create a new version for the default pricelist (remove the others) and make sure to leave the  date fields on the version empty
  2. Create new versions for the default pricelist and give each a start- and enddate. Make sure they don't overlap but do cover all the date ranges you want to use the in.
Avatar
Discard
Author Best Answer

Thank You so much for your response, 

I followed the first option : I remove the default public Pricelist and create another with the currency (NGN)  but I still get the same error. I think it is a problem with the currency.Noting that the old Default Public Price List use the Dollar AS currency.

Thanks in Advance.

Avatar
Discard

Note that I was talking about the price list.version object, NOT a new version of the pricelist.pricelist object. As the error is still the same, at least one of the price lists in your system has no active version. An active price list is one where either NO dates are provided on the only version of the list OR the list has multiple versions all with their own start- and end-date. Also note that multiple price lists specifically meant for customers and/or suppliers will have their own price list versions. All of these price lists need to be configured correctly in order for them to work properly.

Author

Thank u very much Ludo, it works.

You're very welcome. Please check the answer as the correct one if you are able to.