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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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>product_uom_qty" decoration-success="quantity_done==product_uom_qty" decoration-danger="quantity_available < product_uom_qty" create="0">
For more: https://www.youtube.com/watch?v=8YX-3nJAAvg
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Aug 20
|
2973 | ||
|
0
Dec 16
|
2232 | ||
Line Spacing in Odoo 17
Solved
|
|
2
Dec 24
|
451 | |
|
2
Dec 24
|
40 | ||
How to ORDER BY? [Odoo 10]
Solved
|
|
2
Nov 24
|
25081 |