OCA / mis-builder

Management Information System reports for Odoo: easily build super fast, beautiful, custom reports such as P&L, Balance Sheets and more.
GNU Affero General Public License v3.0
145 stars 304 forks source link

expand scope of style expressions #21

Open sbidoul opened 6 years ago

sbidoul commented 6 years ago

It is currently possible to define style expressions at the kpi level.

Eg: 'some style' if profit < 0 else 'some other style'.

That works fine for reports where the only difference between columns is the time period.

For reports made possible in version 3 where columns are more specialized, it makes sense to have style expressions apply at the column level (eg to apply something such as 'red' if cell_val < 0 else ''.

Such generic style expressions should be defined on styles (so one can define styles such as red if negative), and then applied at the column level with the implementation of #14.

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.