It is probably a bad idea to modify or create such record with a unique constraint.
Any way I do not understand why Setting data for One2Many field trough an on_change function is not working for you.
It is probably a bad idea to modify or create such record with a unique constraint.
Any way I do not understand why Setting data for One2Many field trough an on_change function is not working for you.