Hi,
I'm currently facing an issue that stop mytask's progress.
Basically, I need to access some data stored in a relation table.
For that, I use this line :
request.env['x_device_x_support_rel'].browse([(etc...)])
But it return this error : return self.models[model_name].
My model is set like this :
device_ids = fields.Many2many(
'x.device',
string='Devices'
)
I don't know how to solve this issue...
Thanks.
Thanks for your answer.
Yes I can access to my DB and the relation table that I want to access with pgAdmin.
The problem is that I want to access it in a python file in order to get a part of its content.