This is in "report_saledetails.xml" on line 27
<tr t-foreach='products' t-as='line'>
<t t-set="internal_reference"t-value="line['code'] and '[%s] ' % line['code'] or ''"/>
<td><t t-esc="internal_reference"/><tt-esc="line['product_name']"/>td>
i would like to know how 'products' refers to the recordset and where "line['product_name']" or "line['code']" is gotten from because these fields are not in the model (pos_session) the report is linked with