feat: 'Salg, ellers lager' sælger også det opsparede når prisen er over Sælg fra — lageret tæller som kilde i samme flow — 1.62.295

Brugerønske 17/10 (æg: lager under 90 %, hvem tømmer lageret?). addStoreAsSource:
lagrene = 'Lager til' (ellers sidst fundne lagermål, fuldt lager findes ikke af
findStoreMarker), kilder dedupet mod flowets egne, kun når et helt læs kan sælges
uden om reserven (storeSaleWorthwhile = planlæggerens regel); lagermålet
fjernes kun da. Hjælpetekst + manualer præciseret. Tests SS1-SS15.
This commit is contained in:
2026-10-17 08:00:50 +02:00
parent a2b318b7cd
commit 1cd300e892
7 changed files with 123 additions and 5 deletions
+1 -1
View File
@@ -667,7 +667,7 @@ Each good the sources hold is shown with its amount and current price. Choose wh
| **Off** | The good is left alone |
| **Store** | Taken to a silo, a pallet shed or one of the farm's own factories that uses the good — when there is a full load, or the source is getting full |
| **Sell** | Sold when the price is close enough to the yearly top |
| **Sell, else store** | Sold at a good price. Otherwise taken to storage when the source is getting full |
| **Sell, else store** | Sold at a good price. Otherwise taken to storage when the source is getting full. Once the price is above *Sell from*, the storage counts as a source of the same flow: what was stored is fetched and sold with the same vehicle; below the threshold the storage is left alone |
Loose (bulk) goods need a tipper or a tank. Pallets need a trailer with Universal Autoload. Liquids
(slurry, digestate, milk, water and more) are never taken into a factory by themselves — only to silos