mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove old templates from Stock
This commit is contained in:
parent
4f51258cf8
commit
9e9aa02b90
@ -1,5 +0,0 @@
|
|||||||
{% extends "create_edit_obj.html" %}
|
|
||||||
|
|
||||||
{% block obj_title %}
|
|
||||||
Create a new stock item
|
|
||||||
{% endblock %}
|
|
@ -1,5 +0,0 @@
|
|||||||
{% extends "create_edit_obj.html" %}
|
|
||||||
|
|
||||||
{% block obj_title %}
|
|
||||||
Edit stock item for part '{{ item.part.name }}'
|
|
||||||
{% endblock %}
|
|
@ -1,5 +0,0 @@
|
|||||||
{% extends "create_edit_obj.html" %}
|
|
||||||
|
|
||||||
{% block obj_title %}
|
|
||||||
Create a new stock location
|
|
||||||
{% endblock %}
|
|
@ -1,5 +0,0 @@
|
|||||||
{% extends "create_edit_obj.html" %}
|
|
||||||
|
|
||||||
{% block obj_title %}
|
|
||||||
Edit stock location '{{ location.name }}'
|
|
||||||
{% endblock %}
|
|
@ -67,7 +67,6 @@ class StockLocationEdit(AjaxUpdateView):
|
|||||||
|
|
||||||
model = StockLocation
|
model = StockLocation
|
||||||
form_class = EditStockLocationForm
|
form_class = EditStockLocationForm
|
||||||
template_name = 'stock/location_edit.html'
|
|
||||||
context_object_name = 'location'
|
context_object_name = 'location'
|
||||||
ajax_template_name = 'modal_form.html'
|
ajax_template_name = 'modal_form.html'
|
||||||
ajax_form_title = 'Edit Stock Location'
|
ajax_form_title = 'Edit Stock Location'
|
||||||
@ -80,7 +79,6 @@ class StockItemEdit(AjaxUpdateView):
|
|||||||
|
|
||||||
model = StockItem
|
model = StockItem
|
||||||
form_class = EditStockItemForm
|
form_class = EditStockItemForm
|
||||||
# template_name = 'stock/item_edit.html'
|
|
||||||
context_object_name = 'item'
|
context_object_name = 'item'
|
||||||
ajax_template_name = 'modal_form.html'
|
ajax_template_name = 'modal_form.html'
|
||||||
ajax_form_title = 'Edit Stock Item'
|
ajax_form_title = 'Edit Stock Item'
|
||||||
@ -94,7 +92,6 @@ class StockLocationCreate(AjaxCreateView):
|
|||||||
|
|
||||||
model = StockLocation
|
model = StockLocation
|
||||||
form_class = EditStockLocationForm
|
form_class = EditStockLocationForm
|
||||||
template_name = 'stock/location_create.html'
|
|
||||||
context_object_name = 'location'
|
context_object_name = 'location'
|
||||||
ajax_template_name = 'modal_form.html'
|
ajax_template_name = 'modal_form.html'
|
||||||
ajax_form_title = 'Create new Stock Location'
|
ajax_form_title = 'Create new Stock Location'
|
||||||
@ -120,7 +117,6 @@ class StockItemCreate(AjaxCreateView):
|
|||||||
|
|
||||||
model = StockItem
|
model = StockItem
|
||||||
form_class = CreateStockItemForm
|
form_class = CreateStockItemForm
|
||||||
template_name = 'stock/item_create.html'
|
|
||||||
context_object_name = 'item'
|
context_object_name = 'item'
|
||||||
ajax_template_name = 'modal_form.html'
|
ajax_template_name = 'modal_form.html'
|
||||||
ajax_form_title = 'Create new Stock Item'
|
ajax_form_title = 'Create new Stock Item'
|
||||||
|
Loading…
Reference in New Issue
Block a user