mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
Stocktake external (#5182)
* Add 'location' filtering option for part.stock_entries * Add "exclude_external" field to stocktake report * Add "stocktake_exclude_external" default option * Implement setting to exclude external stock * Split stocktake functionality out into separate file * Change name of internal setting * Refactoring * Add 'exclude_external' field to stocktake form
This commit is contained in:
@ -2941,7 +2941,7 @@ class PartStocktakeTest(InvenTreeAPITestCase):
|
||||
def test_report_list(self):
|
||||
"""Test for PartStocktakeReport list endpoint"""
|
||||
|
||||
from part.tasks import generate_stocktake_report
|
||||
from part.stocktake import generate_stocktake_report
|
||||
|
||||
# Initially, no stocktake records are available
|
||||
self.assertEqual(PartStocktake.objects.count(), 0)
|
||||
|
Reference in New Issue
Block a user