I am working on Odoo 17 and I have a required field in the model account.move.line and I whenever I try to add a note/section, it is telling me that a field in missing for that note/section. How can I put a condition in my form view to add the required field for products only?
Thanks,
Pertanyaan ini telah diberikan tanda
1
Balas
963
Tampilan
Hi,
Please add the below condition into your custom required field to only required for the product.
required="display_type == 'product'"
Please vote if its helps you.
Thanks
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar