mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 11:40:58 +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:
@ -1685,6 +1685,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'default': False,
|
||||
},
|
||||
|
||||
'STOCKTAKE_EXCLUDE_EXTERNAL': {
|
||||
'name': _('Exclude External Locations'),
|
||||
'description': _('Exclude stock items in external locations from stocktake calculations'),
|
||||
'validator': bool,
|
||||
'default': False,
|
||||
},
|
||||
|
||||
'STOCKTAKE_AUTO_DAYS': {
|
||||
'name': _('Automatic Stocktake Period'),
|
||||
'description': _('Number of days between automatic stocktake recording (set to zero to disable)'),
|
||||
|
Reference in New Issue
Block a user