Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5273 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
okt. 23
2708
1
mrt. 15
8752
1
mrt. 15
5427
1
jul. 25
1457
2
aug. 24
2146