Comment 2 for bug 693056

Revision history for this message
snook (snook) wrote :

Hi DBR,

Problem becomes apparent when a "pricelist" is linked to a "pricelist_version" and they have different "id" numbers.

Have a look at details posted here: https://answers.launchpad.net/openobject-addons/+question/138016

There is some data and you can see in the generated sql the line:

            "AND price_version_id = 4"

It is using a value of "4" which is from a "pricelist_id" NOT a "pricelist_version".

Hope that helps.