Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

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

By
James Finnall
on 7/19/16, 1:17 PM 163 views

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

"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.

Bista Solutions US, Ray Carnes
on 7/20/16, 2:42 PM
0
Tuan
On 7/20/16, 10:54 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 7/19/16, 1:17 PM
Seen: 163 times
Last updated: 7/20/16, 2:40 PM