Before odoo/odoo#135502, the background of a record was colored if it has some quantities or if it is read only, but this detail was lost. This commit fixes that. closes odoo/odoo#140255 Related: odoo/enterprise#49808 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>