KamoCRM

Expose repricing as a static so a backfill can reuse it

Refactorkamo-shared-library
Shipped
2 செப்டம்பர், 2026 அன்று 3:45 PM UTC
Author
Kamo
Commit
a826f3b

Quote money columns are written, not computed on read, so an engine correction leaves existing rows carrying the old arithmetic until something saves them. A migration that fixes that must reprice through THIS code — a backfill with its own copy of the money rules is a second source of truth, and the two drift the moment either is touched. recalculate now delegates; behaviour is unchanged.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing