how to limit the total number values for a one2many field?
I would like to have a feature on the one2many field. Usually we can add any number of values to a one2many field. But I want restrict the user to enter only the first three values and not more than three. Three is just an example count. I should be able to define it to any number.
To be more clear, I want the user to enter only 3 line items in the sales order. After entering 3 line items, the create/add option should disappear.
Is there any way already existing? or is it to be implemented yet?
Thanks in advance.