Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3990 Переглядів

Dear Community,

i'm wondering is it possible to colorize (or change style) for order lines based on particular conditions? 

for example, i'd like to highlight all lines in SO where forecasted q-ty is negative.

Аватар
Відмінити
Найкраща відповідь

Hi,

Yes it is possible to give color for the records based on condition. See a use case in the manufacturing module,

<tree editable="bottom" delete="0" default_order="is_done desc,sequence" decoration-muted="is_done" decoration-warning="quantity_done&gt;product_uom_qty" decoration-success="quantity_done==product_uom_qty" decoration-danger="quantity_available &lt; product_uom_qty" create="0">


For more:  https://www.youtube.com/watch?v=8YX-3nJAAvg

Thanks

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
серп. 20
4272
0
груд. 16
3201
Line Spacing in Odoo 17 Вирішено
2
вер. 25
2648
2
лип. 25
4892
2
груд. 24
7943