Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
4231 มุมมอง

we want total of all quantity in invoice report 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi, You can check the below free app:

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

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

thanks its working

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด
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


อวตาร
ละทิ้ง

<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>