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

we want total of all quantity in invoice report 

Avatar
Zrušit
Nejlepší odpověď

Hi, You can check the below free app:

Total number of Products and Quantity on Invoices | Odoo Apps Store

Avatar
Zrušit
Autor Nejlepší odpověď

thanks its working

Avatar
Zrušit
Nejlepší odpověď
Hello Tahera
add below tempalate in your module



if you can't add this template in your module let me know will
make a module and push to odoo apps then you can use it easily


Avatar
Zrušit

<template id="report_total_quantity_document" inherit_id="account.report_invoice_document">
<xpath expr="//p[@name='payment_term']" position="after">
<p>
<strong >Total Quantity </strong>
<span t-esc="sum([x.quantity for x in o.invoice_line_ids])"/>
</p>
</xpath>
</template>