mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-12 04:49:25 +00:00
Addition of the ShoppingList view to know the item to buy
This commit is contained in:
@ -88,6 +88,11 @@ class CounterTabsMixin(TabedViewMixin):
|
||||
'slug': 'last_ops',
|
||||
'name': _("Last operations"),
|
||||
})
|
||||
tab_list.append({
|
||||
'url': reverse_lazy('stock:items_list', kwargs={'stock_id': self.object.stock.id}),
|
||||
'slug': 'stock_items_list',
|
||||
'name': _("Stock items list"),
|
||||
})
|
||||
return tab_list
|
||||
|
||||
class CounterMain(CounterTabsMixin, CanViewMixin, DetailView, ProcessFormView, FormMixin):
|
||||
|
Reference in New Issue
Block a user