Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4959 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
oct 23
2263
1
mar 15
8468
1
mar 15
5038
1
jul 25
1052
2
ago 24
1622