Hi,
I have 2 models A and B.
A is related to B like
class B(models.Model): A_id = fields.Many2one(comodel_name='A', inverse_name=id)
So A have many B.
On the each A arch views i want to display all B records (same order and order_lines)
How to do this in the PY and in the XML.
All example if found are very difficult to reproduce.
For now i put this in the PY
all_my_B_records = self.env['B'].search([('B_id', '=', id)])
I don't know at all if it is a good start :)
Thanks for your help,
Sebastian