odoo/o-spreadsheet#9026

Created by BI, Dhrutik Patel (dhrp)

Blocked

label
odoo:17.0-fix-cf-color-scale-dhrp
head
b90d0cbeabe5ce65018955b09c34efa76967309a
odoo/o-spreadsheet
17.0 #9026 missing r+
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
saas-19.1
saas-19.2
saas-19.3
master

[FIX] conditional_formatting: handle zero color scale midpoint

Description:

A color scale midpoint value of 0 was treated as absent because the evaluation logic checked the parsed midpoint with truthiness.

As a result, three-point color scales with a midpoint at 0 were evaluated as two-point scales, interpolating directly from minimum to maximum color. This made the midpoint cell use a mixed color instead of the configured midpoint color.

Task: 6312961

review checklist