Debuging the code I found that a recent fix in models.py is what
created this bug
if variations:
slugs = qry.filter(site=self.site, active=True,
**kwargs).values_list('slug',flat=True)
return
Product.objects.filter(Q(productvariation__parent__product__slug__in =
slugs)|Q(slug__in = slugs))
If I return the code to the state before commit 2168 by Bruce Kroeze
the proper behaviour is achieved...
I am very new to django and also to satchmo code and I still don´t
understand well how it works, so maybe Bruce could help us sorting out
a third code line that corrects both bugs..
Thanks,
Rafael
On 9 maio, 10:53, rafael <[email protected]> wrote:
> Hi everyone. I sent two emails to this satchmo users list, but it
> seems they weren't aproved by the moderators..
> Please let me know if I am asking in the wrong place.
>
> I am having a problem with products variations.. In the latest version
> of satchmo, after a fresh install, my variations are displayed as
> products in the category list.. I don't thnk this is the expected
> behaviour.. Does anyone has this problem?
>
> thanks,
>
> Rafael
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.