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

I'm trying to edit my report_saledetails and I can't seem to add the total price of the product. It's only displaying the unitary price:

<t t-esc="line["price_unit"]"/>
<t t-if="line["discount"] != 0">
Disc: <t t-esc="line["discount"]"/>%
</t>
</td>

Also, is there a way to add the payment method used on product showed on the report?

Avatar
Discard
Best Answer

Hi Jorge:

The underlying code is not passing the total price to the report. You will need to calculate the price in the report or customize the underlying code.

Here's a link to the section of the code that sets the values that are passed to the report.

report_saledetails

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 23
748
1
Mar 15
7614
1
Mar 15
3941
0
Aug 24
107
2
Aug 24
220