Comment 5 for bug 693056

Revision history for this message
Robin (www.cgbs.com.au) (robin-cgbs) wrote :

Hi Ron,

I also appreciate the work being done here.

I am not sure though that the key problem is being addressed:

These lines are the issue and will work in most cases:

167 if pricelist_ids:
168 pricelist_version_ids = pricelist_ids

What these lines of code are doing is placing pricelist ids into the pricelist_VERSION_ids list.

This works whilst pricelist_id matches the pricelist_VERSION_id.

Start deleting some pricelist versions and creating new ones, and get a data set whereby the id's between the pricelist and pricelist versions do not match.

That is where things start to blow up.