Add row with linked field into app_table and display in repeating panel

Hi… I am trying to add a row to an app_table but it is a linked field to another table:

For a “not linked field”, I just use:

new_row = app_tables.lotes.add_row(producto=self.producto_box.selected_value, lotes=int(self.text_box_1.text))

In a linked table, I don’t know how to add this row…

And also when I try to display this field in a repeating panel: