Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3942 มุมมอง

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
4203
0
ธ.ค. 16
3125
2
ก.ค. 25
4691
2
ธ.ค. 24
7809
Line Spacing in Odoo 17 แก้ไขแล้ว
2
ธ.ค. 24
2462