forked from DGNum/gestioCOF
Merge branch 'manet/correction-commandes' into 'k-fet'
Manet/correction commandes - Fix création de commandes (fournisseur) Fix #97 See merge request !128
This commit is contained in:
commit
db4786abf8
1 changed files with 1 additions and 0 deletions
|
@ -1687,6 +1687,7 @@ def order_create(request, pk):
|
|||
|
||||
articles = (Article.objects
|
||||
.filter(suppliers=supplier.pk)
|
||||
.distinct()
|
||||
.select_related('category')
|
||||
.order_by('category__name', 'name'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue