KamoCRM

The invoice takes REVOKE DELETE, not REVOKE UPDATE

FixInitializerService
Shipped
28 ஆகஸ்ட், 2026 அன்று 12:28 AM UTC
Author
Kamo
Commit
7b69a3c

attachPdf writes PDF_BLOB_ID after the finalize transaction commits, on purpose: rendering inside it would hold the document-counter row lock across a MinIO round trip, so a blob-store stall would surface as a lock timeout on the invoice number. A blanket REVOKE UPDATE on commerce_invoices would therefore make every PDF attach fail silently after a successful finalize. Credit notes take the full WORM revoke; they are never amended, only superseded.

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