Is there any way to hide some fields in purchase order line based on some conditions/value of their parent (order_id). I've tried this way:
<field name="price_subtotal" attrs="{'invisible': [('order_id.currency_id.name', '=', 'IDR')]}"/>But unfortunately, this one only works with Odoo v7 and lower. I use v16 by the way.Thanks in advance.