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:
Aurélien Delobelle 2017-02-11 22:00:45 +01:00
commit db4786abf8

View file

@ -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'))