Skip to Content
Menu
This question has been flagged
1 Reply
2980 Views

How do I modify the receipt for the POS app?  I need to add the unit price for each item.

Avatar
Discard

"v9 POS Receipt" is not a question - I changed your title to a question, because it will probably give readers more information - they don't have to open your question to understand if they can help you.

Best Answer

I think you can overwrite:

<template id="report_receipt">


then overwrite:

<thead>

<tr>

<th>Description</th>

<th class="text-right">Quantity</th>

<th class="text-right">Price</th>

</tr>

</thead>

<tbody>

<tr t-foreach="o.lines" t-as="line">

<td><span t-field="line.product_id"/></td>

<td class="text-right">

<t t-if="o.state != 'cancel' and o.statement_ids">

<span t-field="line.qty"/>

</t>

</td>

<td class="text-right">

<t t-if="o.state != 'cancel' and o.statement_ids">

<span t-esc="formatLang(net(line.id), currency_obj=res_company.currency_id)"/>

</t>

<t t-if="line.discount != 0.0">

<span t-esc="line.discount"/>%

</t>

</td>

</tr>

</tbody>


to add the price unit column

Avatar
Discard