Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5118 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 23
2443
1
mar 15
8574
1
mar 15
5182
1
lip 25
1250
2
sie 24
1862