CCPanel
CCPanel v49.11.82 v49.11.82

What's new: Fixed: Account > Reports > Revenue and Total Income gave Server Error (500) once a customer had an order with a zero unit price (Add Fund / credit): Decimal("0") counts as false in Python, so the order's gross came out as int 0 and its discount as float 0.0, and adding a float to money (Decimal) failed. Order.gross_amount and discount_amount always return Decimal now; amounts of priced orders are unchanged (25.00 -> 2.50 discount as before), invoices format the same.

What's New

  • Fixed: Account > Reports > Revenue and Total Income gave Server Error (500) once a customer had an order with a zero unit price (Add Fund / credit): Decimal("0") counts as false in Python, so the order's gross came out as int 0 and its discount as float 0.0, and adding a float to money (Decimal) failed. Order.gross_amount and discount_amount always return Decimal now; amounts of priced orders are unchanged (25.00 -> 2.50 discount as before), invoices format the same
Upgrade to v49.11.82 — run a single update command from your panel, or see the documentation for details.
Back to Blog