mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
enable all functions for deleted company
This commit is contained in:
parent
c278a5397f
commit
57f9ef75e9
@ -96,7 +96,14 @@ def get_deleted_company():
|
|||||||
"""
|
"""
|
||||||
Returns the deleted company object
|
Returns the deleted company object
|
||||||
"""
|
"""
|
||||||
return Company.objects.get_or_create(name='deleted', email='deleted', is_deleted=True)[0]
|
return Company.objects.get_or_create(
|
||||||
|
name='deleted',
|
||||||
|
email='deleted',
|
||||||
|
is_deleted=True,
|
||||||
|
is_customer = True,
|
||||||
|
is_supplier = True,
|
||||||
|
is_manufacturer = True
|
||||||
|
)[0]
|
||||||
|
|
||||||
|
|
||||||
class Order(ReferenceIndexingMixin):
|
class Order(ReferenceIndexingMixin):
|
||||||
|
Loading…
Reference in New Issue
Block a user