mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-18 10:46:31 +00:00
[feature] Disable pricing task (#9730)
* Add setting to control pricing auto-update * Auto pricing updates depend on global setting * Tweak menu layout * Fix typo * Skip pricing task * Tweak serializer * Updated docs * Update logic around automatic pricing updates * Logic fix * Remove daily holdoff
This commit is contained in:
@@ -104,7 +104,11 @@ export default function CurrencyManagementPanel() {
|
||||
<CurrencyTable setInfo={setInfo} />
|
||||
<Divider />
|
||||
<GlobalSettingList
|
||||
keys={['CURRENCY_UPDATE_PLUGIN', 'CURRENCY_UPDATE_INTERVAL']}
|
||||
keys={[
|
||||
'INVENTREE_DEFAULT_CURRENCY',
|
||||
'CURRENCY_UPDATE_PLUGIN',
|
||||
'CURRENCY_UPDATE_INTERVAL'
|
||||
]}
|
||||
/>
|
||||
</Stack>
|
||||
);
|
||||
|
@@ -138,6 +138,7 @@ export default function SystemSettings() {
|
||||
'PART_BOM_USE_INTERNAL_PRICE',
|
||||
'PRICING_DECIMAL_PLACES_MIN',
|
||||
'PRICING_DECIMAL_PLACES',
|
||||
'PRICING_AUTO_UPDATE',
|
||||
'PRICING_UPDATE_DAYS'
|
||||
]}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user