Thanks @ced, I’ll take a look for button, until now this solution like you said worked for me:
@staticmethod
def default_my_one2many_field_name():
return [{“field1”:“value1_”,“field2”:“value2”}]
returning a list with dict of values:
Thanks @ced, I’ll take a look for button, until now this solution like you said worked for me:
@staticmethod
def default_my_one2many_field_name():
return [{“field1”:“value1_”,“field2”:“value2”}]
returning a list with dict of values: