mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
Add new setting PURCHASEORDER_AUTO_COMPLETE (#6245)
* Add new setting PURCHASEORDER_AUTO_COMPLETE - Controls whether purchase orders are automatically closed - Default to True * Tweak setting component
This commit is contained in:
@ -1752,6 +1752,14 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
'PURCHASEORDER_AUTO_COMPLETE': {
|
||||
'name': _('Auto Complete Purchase Orders'),
|
||||
'description': _(
|
||||
'Automatically mark purchase orders as complete when all line items are received'
|
||||
),
|
||||
'default': True,
|
||||
'validator': bool,
|
||||
},
|
||||
# login / SSO
|
||||
'LOGIN_ENABLE_PWD_FORGOT': {
|
||||
'name': _('Enable password forgot'),
|
||||
|
Reference in New Issue
Block a user