How to find out whats the right text before a related field.
I want to know how to access stock.quant and make a related field in product.product for that.
I have this:
test_field = fields.Char(string='test', related='stock_quant.location_id)
This gives me a "stock_quant" error. How to access partner name is like this:
test_field = fields.Char(string='test', related='partner_id.name')
How can I find the exact text before the field value I want? like this example (partner_id)?