2
0
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:
Oliver
2025-07-05 11:16:42 +10:00
committed by GitHub
parent 925807e06b
commit 82dfe561ee
8 changed files with 65 additions and 15 deletions

View File

@@ -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>
);

View File

@@ -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'
]}
/>