Merge branch 'k-fet' into qwann/k-fet/stats
This commit is contained in:
commit
9cae3ad0bd
5 changed files with 31 additions and 25 deletions
|
@ -1692,6 +1692,7 @@ def order_create(request, pk):
|
|||
|
||||
articles = (Article.objects
|
||||
.filter(suppliers=supplier.pk)
|
||||
.distinct()
|
||||
.select_related('category')
|
||||
.order_by('category__name', 'name'))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue