Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5183 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
říj 23
2545
1
bře 15
8642
1
bře 15
5295
1
čvc 25
1351
2
srp 24
1986