forked from DGNum/gestioCOF
Add first improvements for inventory
This commit is contained in:
parent
f063c3470c
commit
3b793dc726
3 changed files with 86 additions and 33 deletions
|
@ -1658,7 +1658,8 @@ def inventory_create(request):
|
|||
'stock_old': article.stock,
|
||||
'name' : article.name,
|
||||
'category' : article.category_id,
|
||||
'category__name': article.category.name
|
||||
'category__name': article.category.name,
|
||||
'box_capacity': article.box_capacity or 0,
|
||||
})
|
||||
|
||||
cls_formset = formset_factory(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue