[14.0][IMP] use cell_style_props for val_rendered in kpi matrix#561
[14.0][IMP] use cell_style_props for val_rendered in kpi matrix#561jonasbuchholz wants to merge 1 commit intoOCA:14.0from
Conversation
|
Hi @sbidoul, |
|
Hi @jonasbuchholz thanks for the contrib. Can you post a few screenshot with a sample config to help me understand what this fixes ? |
|
Hi @sbidoul , thank you for your swift response! I hope this helps to explain what these changes do. |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
Thanks the change makes sense to me. I've not had time to look into it yet. Wondering how hard it would be to add a test for this. |



So far, the values set in set_values_detail_account were rendered using the row style properties, before evaluating the row's style expression. Thus, even though the correct style properties are passed as cell_style_props, some changes by the style_expression (e.g. prefix, suffix, ...) would not take effect.
With these changes, the style_expression gets evaluated before rendering the value, and the correct cell_style_props are passed to style_model.render.