How to restrict/disable the form view, while click the tree view of one2many field in Odoo.
Use style:
<field name="your_o2m" style="pointer-events:none;" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With