I have a problem with the many2many relationship in odoo 11.
Let say i have two models A and B defined as follow
class A(models.Model): _name = 'module.A' b_ids = fields.many2many('B')
class B(models.Model): _name = 'module.B'
def my_method(self):
#my method
What i want to do in 'my_method' is to get the recordset of A model related to B's current record. How can i do that please?