Hello, i'm on Odoo 8
I want to get my products and the locations of these products in a SQL query, to put it in a jrxml file (for Jasper report).
What is the link between stock.location and product.product (or product template) ?
I didn't found location_id in product_product or product template.
I saw this in addons/stock/product.py :
'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'),
I don't know if i can use this.