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,
This question has been flagged
1
Reply
908
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up